Source: /cirosantilli/micro-bit-example

= Micro Bit example
{c}

* \a[microbit/micropython/uart.py]: the Micro BIt comes with a <UART> simulator via the USB connection, it is very convenient: https://support.microbit.org/support/solutions/articles/19000022103-outputing-serial-data-from-the-micro-bit-to-a-computer To output data to the computer simply use Python `print`. To receive you can e.g. use <GNU screen>:
  ``
  screen /dev/ttyACM0 115200
  ``
  It appears to be very unreliable however, some times it shows up, sometimes it doesn't.