HEBI I/O Board (Rev C) - I2C and Digital IO Commands #16
Replies: 2 comments
-
|
Hello,
To view which banks correspond to the digital and analog outputs, please view our documentation here: https://docs.hebi.us/hardware.html#io-board-commands As for setting pin values, digital output pins expect integer values, and analog expects float. You can set them like this: Let me know if this sufficiently helps!
|
Beta Was this translation helpful? Give feedback.
-
|
Hi, One other note - the "analog" outputs are actually PWM outputs that run at 20Khz. To get an analog output, use a R-C low pass filter to remove the carrier frequency. Here is some general information about how this works: https://www.allaboutcircuits.com/techni ... g-voltage/ Thank you,
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have two questions.
Does the IO Board have I2C capabilities?
How do you command digital and analog IOs on the IO board? I only see feedback examples for Python...
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions