Skip to content

Commit c42ebc4

Browse files
committed
added pio flag to the readme
1 parent 1694fa3 commit c42ebc4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SimpleFOClibrary - **Simple** Field Oriented Control (FOC) **library** <br>
22
### A Cross-Platform FOC implementation for BLDC and Stepper motors<br> based on the Arduino IDE and PlatformIO
33

4-
![Library Compile](https://github.com/simplefoc/Arduino-FOC/workflows/Library%20Compile/badge.svg)
4+
![Library Compile](https://github.com/simplefoc/Arduino-FOC/workflows/Library%20Compile/badge.svg) [![PlatformIO - Teensy build](https://github.com/simplefoc/Arduino-FOC/actions/workflows/teensy.yml/badge.svg)](https://github.com/simplefoc/Arduino-FOC/actions/workflows/teensy.yml)
5+
56
![GitHub release (latest by date)](https://img.shields.io/github/v/release/simplefoc/arduino-foc)
67
![GitHub Release Date](https://img.shields.io/github/release-date/simplefoc/arduino-foc?color=blue)
78
![GitHub commits since tagged version](https://img.shields.io/github/commits-since/simplefoc/arduino-foc/latest/dev)

src/BLDCMotor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,8 @@ void BLDCMotor::setPhaseVoltage(float Uq, float Ud, float angle_el) {
561561

562562
center = driver->voltage_limit/2;
563563
if (foc_modulation == FOCModulationType::SpaceVectorPWM){
564+
// discussed here: https://community.simplefoc.com/t/embedded-world-2023-stm32-cordic-co-processor/3107/165?u=candas1
565+
// a bit more info here: https://microchipdeveloper.com/mct5001:which-zsm-is-best
564566
// Midpoint Clamp
565567
float Umin = min(Ua, min(Ub, Uc));
566568
float Umax = max(Ua, max(Ub, Uc));

0 commit comments

Comments
 (0)