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:rtu:robotnest:rgb-led [2025/07/30 09:04] kivilands6en:iot-open:practical:hardware:rtu:robotnest:rgb-led [2025/07/30 09:05] (current) kivilands6
Line 34: Line 34:
 Write some code for the LED's (circle through red, green, blue light): Write some code for the LED's (circle through red, green, blue light):
 <code> <code>
-setRGB(255, 0, 0); +void loop() { 
-delay(1000); +  setRGB(255, 0, 0); 
-setRGB(0, 255, 0); +  delay(1000); 
-delay(1000); +  setRGB(0, 255, 0); 
-setRGB(0, 0, 255); +  delay(1000); 
-delay(1000);+  setRGB(0, 0, 255); 
 +  delay(1000); 
 +}
 </code> </code>
en/iot-open/practical/hardware/rtu/robotnest/rgb-led.1753866298.txt.gz · Last modified: 2025/07/30 09:04 by kivilands6
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