Search found 1 match

by pxlstuermer
Wed Jan 18, 2017 10:50 pm
Forum: General Q&A
Topic: AttachInterrupt on NodeMCU
Replies: 1
Views: 5075

AttachInterrupt on NodeMCU

I'm trying to figure out how the AttachedInterrupt works on the NodeMCU. Everything I found tells me that this code is OK?! void setup() { Serial.begin(9600); pinMode(D4, INPUT); attachInterrupt(D4, doSth(), CHANGE); } void loop() { Serial.println(digitalRead(D4)); delay(100); } void doSth() { Seria...

Go to advanced search