




However, there are methods by which this sensor data can be collected and saved in a data file. These sensors might be valuable in a project in which measurement data collected by one micro:bit (the sensor) can be communicated to another micro:bit (the receiver) and displayed on the LEDs. The Serial Interface defaults to a 9600 baud standard serial connection (8 bits, 1 stop bit, no parity), so your host program should be set to the same settings.The BBC micro:bit contains various sensors for measuring temperature, light intensity, direction, movement, and so on. Linux - Use the command ls /dev/ttyACM*Ĭommunication over the USB Serial port simply uses the standard Serial Interface, specifying the internal (USBTX, USBRX) pins to connect to the Serial Port routed over USB.Mac OS X - Use the command ls /dev/tty.usbmodem*.The name will be ''mbed Serial Port (COMx)'', where ''x'' is the number of the COM port allocated. Windows - Look under the "Ports" section in "Device Manager" (''Start -> Control Panel -> System -> Hardware -> Device Manager'').However, if you do need to know the identity of the serial port so that you can attach a terminal or an application to it: TeraTerm) list the available serial ports by name. Terminals - Using Terminal applications to communicate between the Host PC and the mbed Micrcontroller.This allows the mbed Microcontroller to print to your PC screen, and for you to send characters back. It is common to use a terminal application on the host PC to communicate with the mbed Microcontroller. See Windows-serial-configuration for full details about setting up Windows for serial communication with your mbed Microcontroller
