File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1111 - arduino:sam:arduino_due_x # arduino due
1212 - arduino:samd:nano_33_iot # samd21
1313 - adafruit:samd:adafruit_metro_m4 # samd51
14- - esp32:esp32:esp32doit-devkit-v1 # esm32
14+ - esp32:esp32:esp32 # esp32
15+ - esp32:esp32:esp32s2 # esp32s2
1516 - STM32:stm32:GenF1:pnum=BLUEPILL_F103C8 # stm32 bluepill
1617 - STM32:stm32:Nucleo_64:pnum=NUCLEO_F411RE # stm32 nucleo
1718 - arduino:mbed_rp2040:pico # rpi pico
Original file line number Diff line number Diff line change 11# SimpleFOC Driver and Support Library
22
33![ Library Compile] ( https://github.com/simplefoc/Arduino-FOC-drivers/workflows/Library%20Compile/badge.svg )
4+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
5+
46
57This library contains an assortment of drivers and supporting code for SimpleFOC.
68
Original file line number Diff line number Diff line change 22#ifndef __MAGNETIC_SENSOR_AS5145_H__
33#define __MAGNETIC_SENSOR_AS5145_H__
44
5+ #include " Arduino.h"
56#include " SPI.h"
67#include " common/base_classes/Sensor.h"
78
9+ #ifndef MSBFIRST
10+ #define MSBFIRST BitOrder::MSBFIRST
11+ #endif
812
913#define AS5145_BITORDER MSBFIRST
1014#define AS5145_CPR 4096 .0f
You can’t perform that action at this time.
0 commit comments