Skip to content

Commit

Permalink
updated board.h for PWM changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutherland333 committed Jul 1, 2024
1 parent 14b89ca commit 6a09950
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ class Board

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

// non-volatile memory
virtual void memory_init() = 0;
Expand Down

0 comments on commit 6a09950

Please sign in to comment.