Skip to content

Commit

Permalink
Merge pull request #1 from ieeemysight4rehab/dev
Browse files Browse the repository at this point in the history
Clean code
  • Loading branch information
jerrychong25 authored Apr 20, 2020
2 parents b0008f1 + 681e997 commit 840190e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ void setup() {
void loop() {
if( Serial.available() ) {
val = Serial.read();
System_Run(val);
system_run(val);
}

delay(1);
delay(1);
}

void System_Run(int variable) {
void system_run(int variable) {
if ( variable == '0' ) {
// Turn off system
digitalWrite(led, LOW);
Expand Down

0 comments on commit 840190e

Please sign in to comment.