Hi Everyone
I wonder if anyone can help with my i2c issues.
I am trying to interface an 08M2 and/or 14M2 to the Honeywell hmc6532 compass module. I am using this code, which worked fine for a couple of days:
Now all I get back from the module is an unchanging $43FF. This result has been reported by other users, but I never saw any resolution. I also get this result if I disconnect the module completely, so I am leaning to the conclusion that the module has failed and I need to replace it.
I note the i2cslave command is deprecated so consulted the i2c tutorial but it does not have any example code using the new i2c commands.
Anybody have any advice ?
Many Thanks in anticipation.
I wonder if anyone can help with my i2c issues.
I am trying to interface an 08M2 and/or 14M2 to the Honeywell hmc6532 compass module. I am using this code, which worked fine for a couple of days:
Code:
i2cslave $42, i2cslow, i2cbyte
main:
pause 1000
i2cread $41,(b1,b0)
debug w0
goto main
I note the i2cslave command is deprecated so consulted the i2c tutorial but it does not have any example code using the new i2c commands.
Anybody have any advice ?
Many Thanks in anticipation.