Skip to content

Commit

Permalink
Add DSHOT support and some other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
avtoku committed Jun 30, 2024
1 parent ea4dde6 commit c2bf296
Show file tree
Hide file tree
Showing 13 changed files with 155 additions and 3,719 deletions.
2 changes: 2 additions & 0 deletions include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ class Board

// PWM
virtual void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm) = 0;
virtual void pwm_init(const float *rate, uint32_t channels) = 0; // PTT new
virtual void pwm_disable() = 0;
virtual void pwm_write(uint8_t channel, float value) = 0;
virtual void pwm_write(float *value, uint32_t channels) = 0; //PTT new

// non-volatile memory
virtual void memory_init() = 0;
Expand Down
277 changes: 153 additions & 124 deletions include/mixer.h

Large diffs are not rendered by default.

Loading

0 comments on commit c2bf296

Please sign in to comment.