diff --git a/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md b/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md index f4392123c1..6a62281378 100644 --- a/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md +++ b/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md @@ -354,15 +354,9 @@ If you want to learn more on how to use the Microphone, please check out the tut ## RGB -To turn ON the pixels, write a `HIGH` state to the LED: +The Nano 33 BLE Sense's RGB LEDs are active-LOW, so they are switched in the opposite way to the LED_BUILTIN. -```arduino -digitalWrite(LEDR, HIGH); //RED -digitalWrite(LEDG, HIGH); //GREEN -digitalWrite(LEDB, HIGH); //BLUE -``` - -To turn OFF the pixels, write a `LOW` state to the LED: +To turn ON the pixels, write a `LOW` state to the LED. ```arduino digitalWrite(LEDR, LOW); //RED @@ -370,6 +364,14 @@ digitalWrite(LEDG, LOW); //GREEN digitalWrite(LEDB, LOW); //BLUE ``` +To turn OFF the pixels, write a `HIGH` state to the LED: + +```arduino +digitalWrite(LEDR, HIGH); //RED +digitalWrite(LEDG, HIGH); //GREEN +digitalWrite(LEDB, HIGH); //BLUE +``` + We can also choose a value between 255 - 0 to write to the LED: ```arduino