Skip to content

Commit

Permalink
adjusting server message
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-488 committed Mar 19, 2024
1 parent c06a2b6 commit 5f77401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
var data = JSON.parse(event.data);

if (data.error) {
displayMessage("Error: " + data.error);
displayMessage("Error: " + data.error + (data.stderr? "\n" + data.stderr : ""));
} else {
displayMessage(data.message);
if (data.stdout) {
Expand Down
4 changes: 2 additions & 2 deletions server/sketch/sketch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ void setup() {
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
Serial.println("LED HIGH");
Serial.println("LED HIGH")
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
Serial.println("LED LOW")
Serial.println("LED LOW");
delay(1000); // wait for a second
}

0 comments on commit 5f77401

Please sign in to comment.