Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:remotelab:itt:remotelights [2019/10/27 08:46] pczekalskien:iot-open:remotelab:itt:remotelights [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 46: Line 46:
 #define PIN            D2 #define PIN            D2
  
-// When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals. +// When we setup the NeoPixel library, we tell it how many pixels,  
-// Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest+// and which pin to use to send signals. 
 +// Note that for older NeoPixel strips you might need to change  
 +// the third parameter--see the strandtest
 // example for more information on possible values. // example for more information on possible values.
 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800); Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800);
Line 92: Line 94:
   Serial.print("B: ");   Serial.print("B: ");
   Serial.println(b);   Serial.println(b);
- +  // Moderately bright green color. 
-  pixels.setPixelColor(0, r.toInt(), g.toInt(), b.toInt()); // Moderately bright green color.+  pixels.setPixelColor(0, r.toInt(), g.toInt(), b.toInt()); 
  
   pixels.show(); // This sends the updated pixel color to the hardware.   pixels.show(); // This sends the updated pixel color to the hardware.
Line 110: Line 112:
   Serial.println("Booting");   Serial.println("Booting");
  
-  iot.printConfig(); // print json config to serial //Peale Serial.begin ja enne iot.setup+  iot.printConfig(); // print json config to serial 
   iot.setup();   iot.setup();
  
Line 123: Line 125:
 </code> </code>
  
-=== Study scenarios === 
- 
-//List study scenarios (hands-on labs), linking to the Dokuwiki pages with hands-on labs descriptions (there should be a separate page for each scenario). Classify each scenario and refer to the target group using starting keywords: 
-  * Beginners 
-  * Undergraduates 
-  * Masters 
-  * Professionals 
-Note, assume that more professional group automatically contains less professional ones. Note - use language and as appropriate to the target group, i.e.:// 
-<code> 
-  * Beginners: Elementary operations on the Arduino 2x16 LCD screen. 
-  * Undergraduates: Visualizing temperature and humidity on the remote screen. 
-  * Masters: Using power-saving states to limit power consumption. 
-</code> 
 ==== Support ==== ==== Support ====
-//Give some information on how to access help, how to get support in case of the trouble etc.//+info@ittgroup.ee
  
en/iot-open/remotelab/itt/remotelights.1572165984.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
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