NI Workshop
Prerequisites
- Registration - Sign up or login to mbed. Use htm file on MSD drive (the drive is named MBED) in your computer once board enumerates.
Or visit mbed login link here
- Add board to your supported platform. FRDM-K64F platform page
- Windows Only
Install serial driver
- Get familiar with the online compiler, http://mbed.org/handbook/mbed-Compiler
- FRDM-K64F friendly names to MCU pin names
- https://developer.mbed.org/cookbook/Interfacing-with-LabVIEW
Lab
Lab 1 - Hello world (20 minutes)
- Input/Output and serial module
- Challenge – Change LED state based on button state
- Challenge – Read serial characters and change RGB LED state
Useful links
Lab 2 - Interrupts and timer (20 minutes)
- Interrupts and timers
- Challenge – Drive RGB LED while sleeping between state change
- Challenge – Change RGB LED state but sleep between state change
Useful links
Lab 3 - Using sensors (40 minutes)
- I2C accelerometer / magnetometer
- Challenge – Control an LED in a meaningful way based on the sensor readings
- Challenge – Add sensor handling using the RTOS
Useful links
Please log in to post comments.