This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:practical:hardware:sut:esp32:emb8_1 [2024/03/04 09:37] – [EMB8: Controlling Smart LED stripe] pczekalski | en:iot-open:practical:hardware:sut:esp32:emb8_1 [2024/04/09 13:03] (current) – [Steps] pczekalski | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| There are at least two ways (algorithms) to implement this task: | There are at least two ways (algorithms) to implement this task: | ||
| - | * using dummy loop with blocking ('' | + | * using dummy blocking ('' |
| * using a timer (see advanced scenario below). | * using a timer (see advanced scenario below). | ||
| Line 30: | Line 30: | ||
| When booking a device, ensure the LED stripe is visible in the camera. | When booking a device, ensure the LED stripe is visible in the camera. | ||
| <note important> | <note important> | ||
| - | <note tip> | + | <note tip> |
| ==== Steps ==== | ==== Steps ==== | ||
| Line 55: | Line 55: | ||
| stripe.show(); | stripe.show(); | ||
| </ | </ | ||
| - | Parameters are: '' | + | Parameters are: '' |
| + | <note tip>Note that the index is 0-based, so in the case of our device, valid indexes are 0...7.</ | ||
| - | If you want to set all LEDs in the stripe to the same colour, there is a handy function: '' | + | If you want to set all LEDs in the stripe to the same colour, there is a handy function: '' |
| ==== Result validation ==== | ==== Result validation ==== | ||
| Line 63: | Line 64: | ||
| ===== FAQ ===== | ===== FAQ ===== | ||
| - | **I cannot see the colour via the video camera**: Try to lower brightness. | + | **I cannot see the colour via the video camera |
| + | <WRAP noprint> | ||
| ===== Project information ===== | ===== Project information ===== | ||
| {{: | {{: | ||
| Line 81: | Line 83: | ||
| {{: | {{: | ||
| </ | </ | ||
| + | </ | ||