diff options
Diffstat (limited to 'CODE/debug/3mtest/5514468/5514468.ino')
| -rw-r--r-- | CODE/debug/3mtest/5514468/5514468.ino | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/CODE/debug/3mtest/5514468/5514468.ino b/CODE/debug/3mtest/5514468/5514468.ino new file mode 100644 index 0000000..fd37bc9 --- /dev/null +++ b/CODE/debug/3mtest/5514468/5514468.ino @@ -0,0 +1,37 @@ + +int led = 13; + +int m1enA = 6; +int m1enB = 5; +int m1pwm1 = 3; +int m1pwm2 = 4; +int m1encoA = 32; +int m1encoB = 31; + +int m2enA = 12; +int m2enB = 11; +int m2pwm1 = 9; +int m2pwm2 = 10; +int m2encoA = 30; +int m2encoB = 29; + +int m3enA = 27; +int m3enB = 26; +int m3pwm1 = 24; +int m3pwm2 = 25; +int m3encoA = 28; +int m3encoB = 23; + + +void setup() { + pinMode(led, OUTPUT); + +} + +// the loop routine runs over and over again forever: +void loop() { + digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) + delay(1000); // wait for a second + digitalWrite(led, LOW); // turn the LED off by making the voltage LOW + delay(1000); // wait for a second +} |
