Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C pull up resistance variables - type, name, configuration #90

Open
btsouts opened this issue Jun 2, 2020 · 1 comment
Open

I2C pull up resistance variables - type, name, configuration #90

btsouts opened this issue Jun 2, 2020 · 1 comment
Labels
Bug Something isn't working

Comments

@btsouts
Copy link
Contributor

btsouts commented Jun 2, 2020

Describe the bug
Variables for I2C pull up resistance appear in various places with different type and semantics.

Variable menuI2cPullupValue in main functions is uint16_t and intended to be the I2C resistance value in Ohms.

Variable pullupValue in configureI2Cpins function is uint8_t and corresponds to the tap positions of the ISL23425 DCPs.

Required changes

  1. There are currently two ISL23425 DCPs which are configured with the same tap position value using configureI2Cpins function. We should modify the function to be able to take two values.
  2. A similar approach for menuI2cPullupValue, since there are two DCPs.
  3. We should add a function to map the menuI2cPullupValue Ohms value to ISL23425 DCP tap position.
@btsouts btsouts added the Bug Something isn't working label Jun 2, 2020
@phillipstanleymarbell
Copy link
Member

See also #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants