Browse Source

Replace serial port

master
gepebdevelopers 5 years ago
parent
commit
7324ae910a
  1. 2
      raspberry_pi/bluetooth_read.py

2
raspberry_pi/bluetooth_read.py

@ -3,7 +3,7 @@ import serial
import json import json
ser = serial.Serial( ser = serial.Serial(
port='/dev/rfcomm1', port='/dev/rfcomm1',
baudrate = 9600, baudrate = 115200,
parity=serial.PARITY_NONE, parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE, stopbits=serial.STOPBITS_ONE,
bytesize=serial.EIGHTBITS, bytesize=serial.EIGHTBITS,

Loading…
Cancel
Save