Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update Github_Tutorial.ino
Corrected variable myValue from byte to int
  • Loading branch information
gjluce committed Oct 31, 2021
commit 15b5581e8cc82040bca4767b85162feebef89c48
3 changes: 1 addition & 2 deletions Github_Tutorial.ino
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ void setup()

void loop()
{
byte myValue = 0;
int myValue = 0;
myValue = analogRead(A0);

Serial.print("The value is: ");
Serial.println(myValue);

delay(250);
}