Hello community !
Is it best to use the raspberry to communicate with the nyboard using i2c, or serial ?
And what do I need to import to my behaivor script to send skill commands to the nyboard?
If using serial, would it be as simple as:
"from ardSerial import *"
then define serial port:
"ser = serial.Serial ..//.."
and then calling:
"serialWriteByte(["ksleep"])"
Or am I missing something here ?
Hope you can help me Sending commands to nybble with python.
Thank you.
You can check chapter 4.3 of docs.petoi.com
can you list or direct us to a list of all the pre-programed commands that can be sent please
For serial communication you could also have a look at my python class:
https://github.com/leukipp/OpenCatWeb/blob/master/bus.py
It’s easier to communicate through serial. I2C will require you rewrite the whole codes. There’s a folder serialMasterPython containing ardSerial.py. You can start from there.