Merge pull request #737 from rcarteraz/master

Update serial
This commit is contained in:
Garth Vander Houwen 2023-07-18 22:19:57 -07:00 committed by GitHub
commit 8a38347dc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ while True:
#### Arduino Mini Pro Code #### Arduino Mini Pro Code
```cpp
int LED = 13; // the pin to which the LED is connected int LED = 13; // the pin to which the LED is connected
int PIR = 2; // the pin to which the sensor is connected int PIR = 2; // the pin to which the sensor is connected
int previousState = LOW; // previous state of the sensor int previousState = LOW; // previous state of the sensor
@ -293,3 +293,4 @@ previousState = currentState; // update the previous state
delay(100); // small delay to avoid false sensor readings delay(100); // small delay to avoid false sensor readings
} }
```