User Portlet
Discussions |
---|
Hi there, I have an encoder hooked up to the I2C bus on RPI 3. The Mathematica built-in i2c driver works fine and I can read the encoder (10 bytes). I'm using dat = Dynamic[DeviceRead[enc, 10]] and I see the numbers change as the encoder value... |
Hi, I can read in 10 bytes from a device object "enc" by DeviceRead(enc,10). The first two bytes represent an unsigned 16-bit integer, the next four a signed 32-bit integer and the rest are bytes. Is there a function to read these integers... |