Index

auto-plow / 2b15547

A wheelchair motor-propelled battery-powered ESP32-driven remote control snow plow.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
830 Nov 2018 19:448fadd41Rename ard1.c to ard1.cppJoshua1200N

Blob @ auto-plow / src / ard1 / ard1.cpp

text/plain374 bytesdownload raw
1// One time
2void setup() {
3 pinMode(13, OUTPUT);
4 digitalWrite(13, HIGH);
5 Serial.begin(9600);
6 while (!Serial)
7 ;
8 Serial.println("ARD1: Motor Controller Active");
9}
10
11
12// Repeatedly
13void loop() {
14 if (Serial.available() > 0) {
15 Serial.print("ARD1: Received information: ");
16 Serial.println(Serial.readStringUntil(';'));
17 Serial.flush();
18 }
19 delay(30);
20}
21