Skip to content

Commit

Permalink
Added passthru test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Evangelista committed Nov 14, 2018
1 parent 0dc796b commit 259c84e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions TESTS/receiver/passthru/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ int main(void){
// display on screen? may be too slow for 22 ms update rate
pc.printf("%d. THR %4d AIL %4d ELE %4d RUD %4d\r\n",
i,
receiver.channel[0], receiver.channel[1],
receiver.channel[2], receiver.channel[3]);
spektrum_us(receiver.channel[0]),
spektrum_us(receiver.channel[1]),
spektrum_us(receiver.channel[2]),
spektrum_us(receiver.channel[3]));

// set pwms
throttle.pulsewidth_us(spektrum_us(receiver.channel[0]));
Expand Down

0 comments on commit 259c84e

Please sign in to comment.