Connects to Bluetooth - SoC Blinky example (by name), checks service and characteristic, controls LED on blinky device using buttons or gestures detected by AI/ML.
- LED0 and LED1 (red/green) alternating:
- No state
- Error
- LED0 and LED1 (yellow) flashing:
- Scanning
- Connected, checking service
- Connected, checking characteristic
- LED0 and LED1 (yellow) on:
- Connected, ready to use
- LED0 (red) on:
- Connected, off
- LED1 (green) on:
- Connected, on
- BTN0: If connected, turn off
- BTN1: If connected, turn on
- L: If connected, turn on
- O: If connected, turn off
- Launcher, create Bluetooth - SoC Empty example
- SLCP > Software Components > IO Stream > IO Stream: EUSART > Install > vcom
- SLCP > Software Components > Utility > Log > Install
- SLCP > Software Components > Simple LED > Install > led0 Add instance: led1
- SLCP > Software Components > Simple Button > Install > btn0 Add instance btn1
- SLCP > Software Components > TensorFlow Lite Micro > Install Configure > Tensor Arena Size = 8192
- SLCP > Software Components > ICM20689 - Motion Sensor > Install
- SLCP > Software Components > IMU - Device driver for InvenSense ICM-20689 > Install
- SLCP > Software Components > IMU - Inertial Measurement Unit > Install
- SLCP > Software Components > Board Control > Configure > Enable Inertial Measurement Unit = true
- Github, copy the following files into the project folder:
- accelerometer.cc/h
- app.c/h
- constants.h
- magic_wand.cc/h
- predictor.cc/h
- Build (30m), compile, run