summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabel <abeltimm@protonmail.com>2022-12-08 14:37:20 +0100
committerGitHub <noreply@github.com>2022-12-08 14:37:20 +0100
commit04fc987d9c03e6e12747ac093d0d39e28fb9bb63 (patch)
tree6188f28b796c90dbf2830f8da36256b3c66f88df
parent09fe3b3cbbea9b1a512280c9e9559d5d2cb7c085 (diff)
downloadrobotica-04fc987d9c03e6e12747ac093d0d39e28fb9bb63.tar.gz
robotica-04fc987d9c03e6e12747ac093d0d39e28fb9bb63.zip
eights
-rw-r--r--arduino.ino72
1 files changed, 72 insertions, 0 deletions
diff --git a/arduino.ino b/arduino.ino
index 8ef20c7..9941be7 100644
--- a/arduino.ino
+++ b/arduino.ino
@@ -3,6 +3,24 @@ int fullspeed() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(80); // wait for a second
}
+int seveneightspeed() {
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
+ delay(10);
+}
int treefourspeed() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(10); // wait for a second
@@ -21,6 +39,24 @@ int treefourspeed() {
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(10);
}
+int fiveeightspeed() {
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
+ delay(10);
+}
int halfspeed() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(10); // wait for a second
@@ -39,6 +75,24 @@ int halfspeed() {
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(10);
}
+int threeeightspeed() {
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
+ delay(10);
+}
int onefourspeed() {
digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
delay(10); // wait for a second
@@ -57,6 +111,24 @@ int onefourspeed() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
delay(10);
}
+int oneeightspeed() {
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
+ delay(10);
+ digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
+ delay(10); // wait for a second
+ digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage LOW
+ delay(10);
+}
int nospeed() {
digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)
delay(80); // wait for a second