NodeMCU 12E + SRD-05VDC-SL-C Relay
Posted: Tue Mar 29, 2016 7:52 am
Hi, I am using SRD-05VDC-SL-C relay, using pin 14 (tested pin 4, the same results).
I use:
pinMode(14, OUTPUT);
digitalWrite(14, 0);
Then digitalWrite(14, 1); has no effect, relay do not switch.
What I should do - obviously I have problem to switch the relay pin... but with LED it does function
This sample does not function: http://tech.yeesiang.com/control-real-d ... ing-relay/
Thanks for any advice, Ota
I use:
pinMode(14, OUTPUT);
digitalWrite(14, 0);
Then digitalWrite(14, 1); has no effect, relay do not switch.
What I should do - obviously I have problem to switch the relay pin... but with LED it does function
This sample does not function: http://tech.yeesiang.com/control-real-d ... ing-relay/
Thanks for any advice, Ota