(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.
i am sorry do you mean the pi zero is bad not the nano? the arduino nano motor controller should be okay as it is not receiving or talking to the pi zero running pypilot... please confirm that you meant pi zero w and not nano...
connecting to pypilot now to test your code, thanks! will report with news
So I typed in the while statement after I hit enter on the sudo gpio-g mode 14 1 output and the puTTy freezes...
......