Did you do the
sudo pip install inputs
I would also run
sudo pip3 install inputs
i have done that still same should i re format card and do these commands in terminal
curl https://get.pimoroni.com/explorerhat | bash
sudo pip install inputs
sudo pip3 install inputs
wget https://raw.githubusercontent.com/Coretec-Robotics/Tiny_4wd/master/TinyPirate.py
python TinyPirate.py
crontab -e
@reboot python3 /home/pi/TinyPirate.py &
That might not be a bad idea. Before doing that you could try running it in python 2 instead of python 3? Just to see if its a python 3 issue, the tutorial is all written for python 2. If you type just python,
sudo python /home/pi/TinyPirate.py
it will run in python 2.
python3 /home/pi/TinyPirate.py
runs it in python 3.
I prefer python 3 when ever possible, and only use python 2 if I have no choice.
yey that one lives steering backwards but it lives thank you for helping alphanumeric now to build the other one
If it’s going backwards just reverse the motor leads. It won’t hurt them it will just reverse the direction of rotation. It’s a lot easier than editing your code.
Just make sure both motors on a side have the same polarity. Weird things will happen if one is reversed, they will play tug of war, lol.