-
Notifications
You must be signed in to change notification settings - Fork 217
Add UNO WiFi Rev2 RGB LED control functions #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @sabas1080 , do you need to control the RGB LED from BLE? If using WiFI, please refer to arduino-libraries/WiFiNINA#24 for instructions. |
This comment has been minimized.
This comment has been minimized.
Hi @sabas1080, I think we are going to hold off on implementing something for a while. Currently, when the NINA is in Bluetooth mode, the ESP32 firmware puts the module in HCI passthrough mode using the standard UART over HCI protocol. On the MKR WiFi 1010 the ACK and GPIO0 pins and be used for communications but we can't have SPI communications, and on the Uno WiFi rev2 wth CS pin is free. We could consider to have a serial protocol (TX only) on one of the pins to send RGB values. However, then this should be left out of this library and it would create some divergence for the way things would work when in WiFi mode. |
ok, i am trying with WifiNINA but not working led RGB, my sketch is |
I suggest trying to add a WiFi.status() call before:
Once you enable BLE, there is no way to control the LEDs and they will be turn off until WiFi mode is enabled, as ArduinoBLE and WiFiNINA libraries are not compatible. |
then I can not use BLE and WIFI at the same time? |
Correct, as stated in the forum: http://forum.arduino.cc/index.php?topic=579469.0
|
ok, I hope later you can control, thanks |
Write encryption & visible LTK / IRK
Please add API to control the built-in RGB which is connected to pins 25,26,27 for Arduino MKR and Arduino WiFi Rev2
Thanks
The text was updated successfully, but these errors were encountered: