Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #ifdef USERHOOK_SUPERSLOWLOOP
  2. uint16_t pwm = 2000;
  3. void userhook_SuperSlowLoop()
  4. {
  5. uint8_t _channel=9;
  6. pwm = 3000 - pwm;
  7. hal.rcout->enable_ch(_channel-1);
  8. hal.rcout->write(_channel-1, pwm);
  9. }
  10. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement