mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-28 15:09:46 -08:00
Update serial.mdx
Add opening
This commit is contained in:
parent
699e82df9e
commit
694c1c5e3e
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue