top of page

Software

Public·127 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.

183 Views

You can check chapter 4.3 of docs.petoi.com


About

Learn programming by teaching Nybble new tricks!

bottom of page