mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-30 07:59:54 -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