sudo chmod +x filePathToTheBinFolder/bin/avr-gcc
sudo chmod -R +x /filePathToTheBinFolder/bin
sudo raspi-config
sudo raspi-config
.Would you like a login shell to be accessible over serial?
select 'No'.Would you like the serial port hardware to be enabled?
select 'Yes'.enable_uart=1
to /boot/config.txt
console=serial0,115200
from /boot/firmware/cmdline.txt
on Ubuntu and similar to/boot/cmdline.txt
on Raspberry Pi OSsudo systemctl stop [email protected] && sudo systemctl disable [email protected]
pyserial
installed if you're using the python serial library, not python-serial from apt./etc/udev/rules.d/50-tty.rules
):sudo udevadm control --reload-rules && sudo udevadm trigger
chmod +x ardSerial.py
#!/user/bin/python
./ardSerial.py <args>
is almost equivalent to typing <args> in Arduino's serial monitor. For example, ./ardSerial.py kcrF
means "perform skill crawl Forward".