Created
August 18, 2015 18:11
-
-
Save Technicus/3e99f4386894b3eb64a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void motorsTest_01() { | |
| /* | |
| pwmMotors(primary, 0xFF32); | |
| pwmMotors(primary, 0); | |
| pwmMotors(primary, 0x1E); | |
| pwmMotors(primary, 0);*/ | |
| roombaSerial.write(144); // OI opcode for PWM Motors | |
| roombaSerial.write(0x1E); | |
| roombaSerial.write((byte)0); | |
| roombaSerial.write((byte)0); | |
| delay(500); | |
| roombaSerial.write(144); // OI opcode for PWM Motors | |
| roombaSerial.write((byte)0); | |
| roombaSerial.write((byte)0); | |
| roombaSerial.write((byte)0); | |
| delay(250); | |
| roombaSerial.write(144); // OI opcode for PWM Motors | |
| roombaSerial.write(0xFF32); | |
| roombaSerial.write((byte)0); | |
| roombaSerial.write((byte)0); | |
| delay(500); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment