Re: GPIO not switching..code issue?
Posted: Tue Jan 14, 2020 3:58 pm
I have just done a test:
Uploaded the code un altered from https://randomnerdtutorials.com/alexa-e ... more-53313
Connected a LED and resistor to GPIO14 (D5)
Found devices on the echo (Phillips lamps)
LED was already on
Told echo to turn lamp 2 on and LED goes off
Turn lamp off and LED comes on
I think it is always better to get the code working and then add or remove code as you have a good starting point.
Uploaded the code un altered from https://randomnerdtutorials.com/alexa-e ... more-53313
Connected a LED and resistor to GPIO14 (D5)
Found devices on the echo (Phillips lamps)
LED was already on
Told echo to turn lamp 2 on and LED goes off
Turn lamp off and LED comes on
I think it is always better to get the code working and then add or remove code as you have a good starting point.