Index

auto-plow / 71172f4

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
1230 Nov 2018 21:596cafdd8Update ard1.cppJoshua120N

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

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