Code: Select all
rshell -p /dev/tty.usbmodem*
Connecting to /dev/tty.usbmodem3557315430371 ...
Welcome to rshell. Use Control-D to exit.
/Volumes/dev/uPython/flash> repl
Entering REPL. Use Control-X to exit.
repl_serial_to_stdout dev = <rshell.main.DeviceSerial object at 0x1047acd68>
>
MicroPython v1.11-427-gd5cbee3cf-dirty on 2019-10-12; PYBD-SF2W with STM32F722IEK
Type "help()" for more information.
>>>
>>> import bluetooth
>>> bt = bluetooth.BLE()
>>> bt.active(True)
serial port pyboard closed
/Volumes/dev/uPython/flash>
Code: Select all
MicroPython v1.11-427-gd5cbee3cf-dirty on 2019-10-12; PYBD-SF2W with STM32F722IEK
Type "help()" for more information.
>>>
>>>
>>>
>>> import bluetooth
>>> bt = bluetooth.BLE()
>>> bt.active(True)
pac@pacBook flash %