Releases: kreier/T300
Releases · kreier/T300
Version 1.0
Version 1.0
This release finally works. You can't use PWM to control the driving motors and SERVO control at the same time with an Arduino, not even Arduino Leonardo. It is related to the 3 internal timers and how they are assigned to pins and used. Once you activate the library the PWM analog output is gone.
Solution
It is not really a solution, but you can reset the Leonardo after using Mode 2 which brings you back to Mode 1 and has the PWM functionality reactivated:
void reboot() { // declare reboot function on pin 0 to make PWM available again
wdt_disable();
wdt_enable(WDTO_15MS);
while(1) {;}
}
Special edition
The T300.ino is targeted to Sean and Yau to work with their specific remote control software.
working example
The car is driving, controlled with PWM. And you can control the robot arm wirelessly over BLE.