Home > other > Ams ambient light sensor TSL25721 read value anomalies
Ams ambient light sensor TSL25721 read value anomalies
Time:01-12
I code the original is on the old engineering architecture before a TSL25721 drive, then optimize the code, I put the old architecture has nothing to do some of the global variable deleted, now abridged version with the original version from TSL25721 register address to read the value of the same sent nearly ten times what the problem is, IO simulating iic drivers, I wrote a pure version of the project is now pure to drive the TSL with abridged version I want to read values, but the original issue where, I don't know what did understand bosses indicate a direction of the February
Read the original interior value C0 probably more than six hundred, more than one hundred c1 Abridged version indoors reading values C0 probably more than seven thousand, c1 of more than one thousand
CodePudding user response:
If only the numerical differential 10 times, probably is the original 10 x magnification, reduction again, floating point arithmetic often like this operation