Skip to content

allape/curved-pwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curved PWM

Edit PWM steps with a curve editor.

  • Fan speed control with a temperature curve.
  • Flash pattern with a brightness curve.
  • Loaded rotor with a torque curve.

ESP32

  • esp32 in rust
    • esp32c3 for now

Credits

What I learned

  • Language Rust
  • ESP-IDF
  • When put a &str.as_prt() into C function, it must be ended with \0.
    • Otherwise, the invalid memory access will occur, and there will be no error message.