Devil You Know

There are better NodeMCU v3 out there, but I been playing with this one and it seems to work.

Verified it with a blink sketch to multiple LEDs

const byte LED0 = D0;   // LED0  By PIN SD1/SD2
const byte LED1 = D4;   // LED1  By Pin D1/D2

void setup() {
   pinMode(LED0, OUTPUT);
   pinMode(LED1, OUTPUT);
   digitalWrite(LED0, HIGH);   
   digitalWrite(LED1, HIGH);   
   delay(1000);
   digitalWrite(LED0, LOW);    
   digitalWrite(LED1, LOW);    
   delay(1000);
   digitalWrite(LED0, HIGH);   
   digitalWrite(LED1, HIGH);   
   delay(1000);
 }

void loop() {
   digitalWrite(LED0, LOW);   
   digitalWrite(LED1, LOW);   
   delay(100);
   for (int i = 0; i <= 5; i++) {
     digitalWrite(LED0, HIGH);   
     delay(100);
     digitalWrite(LED0, LOW);   
     delay(100);
   }
  
   digitalWrite(LED0, HIGH);   
   digitalWrite(LED1, HIGH);   
   delay(100);
   for (int i = 0; i <= 5; i++) {
     digitalWrite(LED0, LOW);   
     delay(100);
     digitalWrite(LED0, HIGH);   
     delay(100);
   }  
 }

I am going to use this platform to do IR controlling.

Another thing I did today was embrace Outlook 365.

Microsoft got me.

This entry was posted in Arduino, New Toys, Technical, Training. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.