WeMOS D1 mini: D1 read data

From OnnoWiki
Revision as of 11:50, 10 August 2022 by Onnowpurbo (talk | contribs) (Created page with " →‎* D1 read data * * *: void setup() { pinMode(D1,INPUT); } void loop() { in = digitalRead(D1); delay(1000); }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/*
 * D1 read data
 * 
 *
 * 
 */

void setup() {
  pinMode(D1,INPUT);
}

void loop() {
  in = digitalRead(D1); 

  delay(1000);
}