I am new to App Inventor and trying to connect my Arduino Nano 33 BLE via bluetooth to my App via MIT AI2 Companion and I have a few questions. I've tried to look through existing questions but there are a few things I don't quite understand.
- Is it even possible to do it like this (via MIT AI2 Companion)? It works with Arduino UNO..
- The Arduino code is readable to me and I understand most of it, but is there an easy way to translate the sending part into blocks? All the solutions I've seen use multiple blocks and I dont understand them completely
- Can you help me with the BLE connection?
Here is my app:
I'm trying to turn on 6 LEDs using buttons on the app. Each button should turn on a different colored LED while turning the others off, so only one LED can be on at a time. The dark button should turn all LEDs off.
And here are the blocks (not completed, I don't know how to proceed):
And here is the Arduino Code (very similar to the arduino tutorial and a code from this forum):
girlsday2023_LED_BLE.ino (9.1 KB)
Thank you for reading! Helpful links are also apprechiated!