-
Notifications
You must be signed in to change notification settings - Fork 967
Firmata example
Firmata example on Nucleo L476RG
See Firmata library for further information.
-
If not already done, download and install the Arduino software (IDE) for the required OS. (Windows, Linux or Mac instructions)
-
Configure the IDE to the desired board.
See Getting-Started#configuring-ide
- Open the Firmata sketch from the "File> Examples > Firmata > StandardFirmata"
Note: Firmata library has been updated for the STM32 core. That's why Firmata is displayed twice.
- "Examples for any board" section
- "Examples for Nucleo-64" section
Select the firmata for the Nucleo-64 /img/SelectSpecificExample.png
- Click the upload button
See Getting-Started#upload-method to change the upload method.
When board restart, LED blinking several time (indicating Firmata version). **Firmata **is ready to use.
Firmata client test are available here (no installation required)
Test with ScratchX (experimental)
Firmata can be tested with ScratchX using the Scratch Arduino Extension. Please, follow the Getting Started since step 2.
Some examples, which could be loaded with the plugin, for the Nucleo L476RG:
- Blink-Nucleo-l476.sbx: LED blinking every second.
- Button-Nucleo-l476.sbx: LED is switch off when blue button is pressed.
- ToggleButton-Nucleo-l476.sbx: LED state changes each time blue button is pressed.
-
Advanced usages