Replies: 2 comments 5 replies
-
|
Hi |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi Here my code working today: import bluetooth
from bluetooth import Protocols
bd_addr = "98:D3:xx:xx:xx:xx"
port = 1
server_sock = bluetooth.BluetoothSocket(Protocols.RFCOMM)
server_sock.connect((bd_addr, port))
#car = input("Quel est action ? ")
server_sock.send(b"B") #send caracter B to the Arduino
server_sock.close() |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I control a turnout with a servomotor connected to an Arduino and an Hc-06 bluetooth module.
it works very well from my smartphone with a bluetooth terminal.
how to define this equipment in pybricks.
I can't find how?
THANKS
Beta Was this translation helpful? Give feedback.
All reactions