gueei / DShot-Arduino

DShot implementation for Arduino using bit-banging method
68 stars 25 forks source link

Assembling components #7

Closed vivaanusyd closed 1 year ago

vivaanusyd commented 1 year ago

Can there be more physical description on what to do? which pins should connect to DShot and which pins are used to change value of throttle? Bearing in mind PORT and PIN might have different meaning in terms of the Arduino. thank you

robomaniac commented 1 year ago
  esc1.attach(7);               // pin 7 is what connects to ESC
  esc1.setThrottle(target);     // value from 48 to 2047

I agree there is not a lot of info how to use. The demo reads the throttle from the serial interface on your computer. Not typical potentiometer from analog port.