Skip to content
Discussion options

You must be logged in to vote

Hello,

  1. Sadly, we do not support I2C. However, would you be able to provide your use case? We have had this question asked somewhat frequently, and we'd like to investigate what potential use cases we are ignoring.

  2. You are correct - I don't see any examples showing how to set pins on the IO board. Sorry about that.

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:

import hebi
cmd = hebi.GroupCommand(1)

# Set pin e3 to 1
cmd.io.e.set_int(3, 1)

# Set pin f2 t…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by GogiPuttar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Python
Labels
enhancement New feature or request question Questions, comments or problems
1 participant