|
Post by backonline on May 4, 2015 14:46:23 GMT
I'm trying to turning on/off the LED on port 13 by a push button
It works if the code only contain the LED and push button. If add the code to communicate with the Pi, the node does talk with the Pi, but i cannot turn on the LED with the push button. With the serial output i can see that it passes by the "digitalWrite(13, HIGH);" but it does not turn the LED on, I've putted a delay and noting appends, except if comment the line "radio.initialize(FREQUENCY,NODEID,NETWORKID);".
Can someone help with this?
|
|
|
Post by valveandy on May 5, 2015 13:45:15 GMT
Hi There, I think you will find the problem you have is due to digital i/o 13 which is used for the led is also used for the radio as SCK, hope this of of assistance
|
|