2021-02-04, 07:35 PM
(2021-02-04, 07:22 PM)ironman Wrote: pretty sure - the -g switch toggles the bcm numbers, and the Tx is GPIO14. I tested it with another GPIO I have attached to an led; to test it with GPIO14 I'd need to open up my machine - which I am about to do.
Because the sad news would be, that if the pin cannot be pulled down to 0V, the output seems to be shot.
I ran this and it made the rx led on the arduino blink:
Code:sudo sv stop pypilot
sudo gpio -g mode 14 output
while [ 1 == 1 ]; do sudo gpio -g write 14 1; sleep 2; sudo gpio -g write 14 0; sleep 2; done
So if you run this and you don't measure alternating voltages on you GPIO14 / pin 8, I'm afraid your nano is bad. Hate to be the messenger of sad news, hope it's not true.
Hi,
yes if this normally works for the tinycore images I agree. If no reaction seen on the GPIO when enter the commands the output seems to be broken.
Regards
Andreas