Closed Narvey closed 7 years ago
The user running the node process doesn't appear to be a member of group i2c
. This is mentioned in the prerequisites section of the readme. Note that the user may need to logout and login again before changes to group membership are visible.
This error looks like you are trying to do I2C stuff, but I never asked for that! I just wanted the XIO pins!
Although the above error message isn't related to the XIO pins, the XIO pins are made available through an I2C PCF8574A 8-bit I/O expander. Accessing the XIO pins will therefore always involve I2C. See page 5 of the schematic.
@Narvey as @fivdi suggestion please see: https://github.com/sandeepmistry/node-chip-io#prerequisites
README.md says that the pins XIO-P0 through XIO-P7 don't require root privileges, but when I try to make a very simple script to use them:
I get the error:
This error looks like you are trying to do I2C stuff, but I never asked for that! I just wanted the XIO pins!