top of page

Software

Public·144 members

Sending serial or i2c commands from python

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.

184 Views
Rongzhong Li
Rongzhong Li
Sep 11, 2020

You can check chapter 4.3 of docs.petoi.com


bottom of page