diff options
| author | Abel Tim <abel@abel-ms7c95.home> | 2025-03-17 21:43:59 +0100 |
|---|---|---|
| committer | Abel Tim <abel@abel-ms7c95.home> | 2025-03-17 21:43:59 +0100 |
| commit | 9c8f7e2f1101b4bb8e0c5459e14af253f150c8b7 (patch) | |
| tree | f6baef3949190537fb37f3ac21b965f83c8f7407 /CODE/debug/3mtest/5514468 | |
| parent | bf474ec55fce14f778efa1c1e8118d69a093bf07 (diff) | |
| download | robotica-9c8f7e2f1101b4bb8e0c5459e14af253f150c8b7.tar.gz robotica-9c8f7e2f1101b4bb8e0c5459e14af253f150c8b7.zip | |
code
Diffstat (limited to 'CODE/debug/3mtest/5514468')
| -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 +} |
