Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:iot-open:practical:hardware:sut:esp32:emb8_1 [2024/03/22 10:00] – [Project information] pczekalskien:iot-open:practical:hardware:sut:esp32:emb8_1 [2024/04/09 13:03] (current) – [Steps] pczekalski
Line 55: Line 55:
   stripe.show(); //Writes colours to the LED stripe   stripe.show(); //Writes colours to the LED stripe
 </code> </code>
-Parameters are: ''setLedColorData(int index, u8 r, u8 g, u8 b);''**Note that the index is 0-based, so in the case of our device, valid indexes are 0...7.**+Parameters are: ''setLedColorData(int index, u8 r, u8 g, u8 b);''.\\ 
 +<note tip>Note that the index is 0-based, so in the case of our device, valid indexes are 0...7.</note>
  
 If you want to set all LEDs in the stripe to the same colour, there is a handy function: ''setAllLedsColorData(u8 r, u8 g, u8 b);''. \\ Remember to use the ''show();'' function afterwards. If you want to set all LEDs in the stripe to the same colour, there is a handy function: ''setAllLedsColorData(u8 r, u8 g, u8 b);''. \\ Remember to use the ''show();'' function afterwards.
en/iot-open/practical/hardware/sut/esp32/emb8_1.1711101607.txt.gz · Last modified: 2024/03/22 10:00 by pczekalski
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0