Skip to content

Commit 55c450a

Browse files
committed
update project1.md
1 parent b8d7e20 commit 55c450a

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

led and button (1)/project1.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,38 @@ diagram of the .ino project.
1818
## more about the code
1919

2020
### serial monitor
21-
a serial monitor mainly used for debging code
21+
a serial monitor mainly used for debging code and printing text
2222

2323

2424

2525
```
2626
Serial.begin(9600)
2727
```
28-
this code will to start the serial monitor. it always has to be in the
28+
this code will to start the serial monitor. it has to be in the
2929
`setup()` function.
3030

3131

32-
print something in the serum monitor use the `Serial.print()` function.
33-
the code will be something like this.
34-
32+
To print something in the serial monitor use the `Serial.print()` function.
33+
the code will be something like this:
3534

3635
``` cpp
3736
void setup() {
3837
Serial.begin(9600);
39-
Serial.print("cool");!
38+
Serial.print("cool");
4039
}
4140
```
4241

4342
_*NOTE*_: `Serial.print()` will print in the same line and `Serial.printnl()` will print on a new line.
44-
![3D Model of Aula 31 - Controle de Motores DC - Kit 2021](https://path/to/your/screenshot.png)
4543

46-
This is a 3D model of Aula 31 - Controle de Motores DC - Kit 2021. You can view the full model on Sketchfab: [Link to your Sketchfab model](https://sketchfab.com/models/c79f5fcf8a0043b5baf2d75750349b5f/embed).
4744

4845

4946

5047
### Pinmode (input and output)
5148
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.
5249

53-
to set a pin as a input/output we use `pimMode()` function.
50+
to set a pin as a input/output we use `pinMode()` function.
5451
```cpp
55-
pimMode(pin_number, Value) //value can be input or output
52+
pimMode(pin_number, Value) //value can be Input or Output
5653
// and pin_number will be the number of the pin that the device is plugged //into
5754
```
5855

0 commit comments

Comments
 (0)