Skip to content

Working java program throws I2C exception when running on new Pi #297

Answered by taartspi
cbear3000 asked this question in Q&A
Discussion options

You must be logged in to vote

(something changed ??) I am not aware of later Pi4 encountering problems. You mentioned down grade to V1, seeing gpio.extension.mcp.MCP23017GpioProvider in the stack I assume you are now running V1.3. You mentioned java levels, this build requires java 8 (https://pi4j.com/1.3/install.html) I no longer have any Pi using V1 code so can only ask some simple questions, don't be upset at their simplicity. On this new Pi did you enable the I2C interface via raspi-config ? Does command i2cdetect -y 1 show the two mcp23017 chips as expected ?

PS. You referred to installing wiringpi like a new install and moving the SDCard. I assumed you did a new install of the OS etc on the new PI4. If you only …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cbear3000
Comment options

Answer selected by cbear3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants