Connect your microcontroller to the internet via mbed Device Connector using JavaScript on mbed.
Install:
- Run
npm install
. - Create a Device Certificate and copy the contents to
native_extras\security.h
. - Configure your connectivity method in
native_extras\mbed_app.json
. See here for more information. - Run
gulp --target=YOUR_TARGET_NAME
.- To find your target name, look at the platforms page for your development board.
- Copy the
mbedos5.hex
ormbedos5.bin
file frombuild/out/YOUR_TARGET_NAME
onto your development board. - Your device will register with mbed Device Connector and show up under Connected devices.