I'd like to get some help with the decoding of an I2C sensor. The MPRLS sensor is connected to an 18F4685 and with my (rigol) scope I can see the signals just fine and the scope is decoding the correct values.
Attached is the code which used to work, however for some reason after a compile, the "rdata" values return as "0". As I have installed FC on a new PC I'm wondering if there is an issue with the "Project Options" or "compile Options".
The other reason why I suspect an issue with the compiler is that I need to set the length of the string variable to 30 in order to output string that is only 9 characters long; "version 1". If the string variable is anything less than 30, it output weird characters...
Thanks for the help
Henk