Use XBee Studio to enter the MicroPython environment
To use the XBee Cellular Modem in the MicroPython environment:
- Use XBee Studio to add the device(s); this should happen automatically. The terminal starts in a disconnected state by default.
- Click Open to establish communication with the device corresponding to the terminal.
- If the device is not in MicroPython REPL mode, a dialog will pop up, prompting you to enable it before connecting.
-
After the connection is established, the button icon changes to the connected state and the serial port status line and the terminal log controls are enabled.
At this point, all MicroPython logs of the application running in the device are captured and displayed in the terminal log control. If the device is not running any MicroPython application, nothing should be printed in the terminal log.
Work with MicroPython REPL
- If the device is not running a MicroPython app: press Enter on the terminal log. The MicroPython REPL prompt should appear for you to start working with it.
- Stop running the MicroPython app: press Ctrl + C. The MicroPython REPL prompt should appear for you to start working with it.
For more information, see the XBee Studio User Guide.
PDF
