PyCmdMessenger
PyCmdMessenger copied to clipboard
Python interface for CmdMessenger arduino serial communication library
I fail to see how the self.enable_dtr is forwarded to the Serial connection, since we no longer call self.comm.setDtr() beyond this commit https://github.com/harmsm/PyCmdMessenger/commit/02124aaeac902929cb4d58f88ba92f77098496d2. In Windows (at least), instantiating Arduino with...
how to print the recieved serial command and value ? is there a callback function?
Hi, It would be great if you could provide samples that are compatible with those in [@https://github.com/thijse/Arduino-CmdMessenger/tree/master/examples](url)
This cost me a bit of time debugging why the arduino would not receive some commands. I'll leave it here so others won't run into the same problem.
In my example every 2nd command sent to the arduino returns None, every other shows the correct message.
the first exchange "who_are_you" works fine, however for the sequence c.send("sum_two_ints",4,1) msg = c.receive() python 3.6 throws this error on the receive line: struct.error: unpack requires a buffer of 2...
I'm using a freescale ARM micro controller with: char, signed char, and unsigned char are 8 bits; The plain char type is unsigned by default; short and unsigned short are...
Right now, it is impossible to receive arbitrary byte-strings. I wrote a simple setup where my python-script sends the character `'\xff'` and the Arduino sends that back. When a string...
Very useful for raw data. Sending and receiving will not format the input data in any way. Fixes #33
Fixes #25