Displaying 1 result from an estimated 1 matches for "battval".
Did you mean:
attrval
2006 Dec 22
1
Powercom BNT-1200AP driver
...put Frequency Start**************************************************
Ofreq=1/InData[6]*4807;
******************************Output Frequency End****************************************************
******************************Battery Level Start*****************************************************
BattVal=InData[1]+InData[0]/4;
Bat0=157;
Bat29=165;
Bat100=193;
if BattVal<=Bat0 then
BattLevel=0;
if (BattVal>Bat0)and(BattVal<=Bat29) then
BattLevle=(BattVal-Bat0)*30/(Bat29-Bat0);
if (BattVal>Bat29)and(BattVal<=Bat100) then
BattLevel=30+(BattVal-Bat29)*70/(Bat100-Bat29);
if BattVal>...