Well thought i would give an update since i just woke up after dealing with the battery meter all night..
It doesn't look like it will be possible to output real percentages on the moment.. this is due to the adc values being to small. Samsung must have switched the adc chip from the spica to the moment even though they use the same board
Good news is i have new values for the voltages instead of the made up ones we were using before thanks to converting the Behold II values and recalculating ADC values.. one problem i noted about Samsungs original code is the numbers were wrong... So hopefully the new code will be a little more accurate and i am going to try to get reported values to do integers of 5 instead of 10....
The new reporting levels will hopefully be Anything x9-x5 will report as x5 on the meter.. and anything x4-x0 will report x0 on the meter...
Example 99,98,97,96,95 will report as 95 instead of how 99, 98, 97,96,95 all report as 100 right now and 94,93,93,91,90 will all report as 90 instead of 94,93,92,91,90,89,88,87,86,85 all reporting as 90
It doesn't look like it will be possible to output real percentages on the moment.. this is due to the adc values being to small. Samsung must have switched the adc chip from the spica to the moment even though they use the same board
Good news is i have new values for the voltages instead of the made up ones we were using before thanks to converting the Behold II values and recalculating ADC values.. one problem i noted about Samsungs original code is the numbers were wrong... So hopefully the new code will be a little more accurate and i am going to try to get reported values to do integers of 5 instead of 10....
The new reporting levels will hopefully be Anything x9-x5 will report as x5 on the meter.. and anything x4-x0 will report x0 on the meter...
Example 99,98,97,96,95 will report as 95 instead of how 99, 98, 97,96,95 all report as 100 right now and 94,93,93,91,90 will all report as 90 instead of 94,93,92,91,90,89,88,87,86,85 all reporting as 90