Skip to content

Commit bac165a

Browse files
committed
Atualizando seçao de aplicaçao
1 parent 652d01a commit bac165a

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -260,17 +260,17 @@ Com isso, <b>seu leque de opções</b> vira o verdadeiro cinto do Batman, com di
260260
`pip install pyserial`
261261

262262
```python
263-
1: import serial
263+
import serial
264264

265-
2: arduino = serial.Serial(port='/dev/ttyACM0', baudrate=9600, timeout=1)
265+
arduino = serial.Serial(port='/dev/ttyACM0', baudrate=9600, timeout=1)
266266

267-
3: while True:
268-
4: msg = input('Envie um comando: ')
267+
while True:
268+
msg = input('Envie um comando: ')
269269

270-
5: arduino.write(bytes(msg, encoding='utf-8'))
270+
arduino.write(bytes(msg, encoding='utf-8'))
271271

272-
6: retorno = arduino.readline().decode('ascii')
273-
7: print('Retorno: ' + retorno)
272+
retorno = arduino.readline().decode('ascii')
273+
print('Retorno: ' + retorno)
274274
```
275275

276276
## Imagem: Speech to Text : Comandos por voz

codes/Serial/arduino-python.md

Whitespace-only changes.

codes/opencv/arduino-cam.md

Whitespace-only changes.

codes/opencv/c1.png

-373 KB
Binary file not shown.

codes/opencv/test.png

-305 KB
Binary file not shown.

codes/pysound/arduino-som.md

Whitespace-only changes.

codes/speech-to-text/arduino-voz.md

Whitespace-only changes.

0 commit comments

Comments
 (0)