Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef USERHOOK_SUPERSLOWLOOP
- uint16_t pwm = 2000;
- void userhook_SuperSlowLoop()
- {
- uint8_t _channel=9;
- pwm = 3000 - pwm;
- hal.rcout->enable_ch(_channel-1);
- hal.rcout->write(_channel-1, pwm);
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement