esp32-dshot
esp32-dshot copied to clipboard
Initializing Multiple Drivers
How can I initialize and control the speed of several motors? If I do as in the example below, then the motors do not work.
FLESC.install(GPIO_NUM_16, RMT_CHANNEL_0); FRESC.install(GPIO_NUM_18, RMT_CHANNEL_1); FLESC.init(); FRESC.init(); FLESC.setReversed(false); FRESC.setReversed(false);
If you comment out any line with initialization ХХESC.init(); then one of the remaining motors will work ... I don’t understand what the mistake is ...