Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DisplayApp AsciiFont
Monitoring the application
The application prints debug message over the serial port, so you can monitor its activity with terminal software such as Tera term. The application uses baud rate 115200.
After connecting, you should see message below about connecting to mbed Device Connector.
Testing the application¶
- Flash the application
- Verify that the registration is succeeded, You should see Registered object successfully! printed to the serial port as shown below:
- On mbed Device Connector, go to https://connector.mbed.com/#endpoints. Your device should be listed here. Please note that the endpoint name shown here should be the same as the variable MBED_ENDPOINT_NAME in security.h file
- Input barcode data from camera. If the valid data is input, the decode result should be shown in the terminal software as follows:
- Go to https://connector.mbed.com/#console and specify MBED_ENDPOINT_NAME and /3200/0/5700 for endpoint and resource-path, respectively. Then, click TEST_API.
- The decode result is shown.
- Press USER_BUTTON0 to unregister from mbed Device Connector. You should see Unregistered Object Successfully printed to the serial port and the LED stops blinking. This will also stop the example application. Press RESET button to run the example again.