Mac,
Out of the the box, the Arduino Uno enumerates as a CDC/ACM serial port.
This is not a USB-HID device, nor is it especially practical to talk to the
device with PyUSB instead of PySerial.
The HID protocol is better suited to device communication than a serial
stream, but there's nontrivial d
On Sat, 5 Nov 2011 22:08:17 -0400
Ian Daniher wrote:
> Also, I might recommend pySerial over pyUSB for talking to the
> Arduino.
Would you mind to articulate? I only have a 2009 [the Arduino that
isn't visible as a HID device] but I was thinking to upgrade exactly
because I feel the HID protocol
Out of the box, the Uno should enumerate as a USB-serial / CDC device.
You'll need to make sure the kernel doesn't have control over the device
before trying to talk to it.
Call device.detach_kernel_driver() before device.set_configuration().
Also, I might recommend pySerial over pyUSB for talkin