Skip to content

Commit efa5c62

Browse files
committed
update project1.md
1 parent 2c29b79 commit efa5c62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

led and button (1)/project1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ _*NOTE*_: `Serial.print()` will print in the same line and `Serial.printnl()` wi
4949
To turn on a led or check if a button is pressed or not we use inputs and outputs. inputs are LED, screen, buzzer's. And outputs are buttons, switches, etc.
5050

5151
to set a pin as a input/output we use `pimMode()` function.
52-
```
52+
```cpp
5353
pimMode(pin_number, Value) //value can be input or output
5454
// and pin_number will be the number of the pin that the device is plugged //into
5555
```

0 commit comments

Comments
 (0)