02-05-2022, 11:17 PM
Hello,
I'd like to ask a question regarding usage of API. In my headunit I have an arduino to inteface with existing car interfaces. Arduino is sending some data over serial to rpi (radio keys, battery voltage reading, temperature sensor reading). I've seen that there are python scipts examples provided which is really great but i don't really got how to properly make them usable.
My question is how to implement those scripts? Should I just copy an example to the SD card, edit to my preferences and then use crontab with "@reboot python /home/pi/myscprit.py" to have them running at reboot?
Kind regards
I'd like to ask a question regarding usage of API. In my headunit I have an arduino to inteface with existing car interfaces. Arduino is sending some data over serial to rpi (radio keys, battery voltage reading, temperature sensor reading). I've seen that there are python scipts examples provided which is really great but i don't really got how to properly make them usable.
My question is how to implement those scripts? Should I just copy an example to the SD card, edit to my preferences and then use crontab with "@reboot python /home/pi/myscprit.py" to have them running at reboot?
Kind regards