2020-05-18, 10:17 AM
(2020-05-17, 08:13 PM)seandepagnier Wrote: the arduino is using 5 volts and the pi 3.3v? You cannot connect tx from arduino to rx of pi without resistors.
The led blinking does not seem like the sketch works. Normally the led is not on at all unless the motor is engaged which won't happen until after connected and a command received.
Make sure you can upload to the arduino using the pi's /dev/ttyAMA0 not a usb and you will know the port is working correctly.
Ah OK - I'll try that. Thanks! There was a BLINK "undefined" in the code which I enabled so that's why I thought the code was working.
Not sure I understand your last line "Make sure you can upload to the arduino using the pi's /dev/ttyAMA0" though