imranahmed
Advanced Member level 3
- Joined
- Dec 4, 2011
- Messages
- 822
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- Karachi,Pakistan
- Activity points
- 6,533
Dear alexan_e,
My ammeter should as under,
Normally it shows amps like 1.24 or 12.4 or 124 depends on load.
But if user want to set value for amps as he want to set 2.34.
The value 2.34 should be compare with display value as well as store in EEPROM.
When display value 1.24 reaches 2.34 the (any) port_bit should toggles.
I programmed 90%. But problem in storing and retrieving from EEPROM.
The storing value in EEPROM is done but when I retrieve it,its decimal point missed.
As I stored 4.56 and when retrieve it would 456.
My ammeter should as under,
Normally it shows amps like 1.24 or 12.4 or 124 depends on load.
But if user want to set value for amps as he want to set 2.34.
The value 2.34 should be compare with display value as well as store in EEPROM.
When display value 1.24 reaches 2.34 the (any) port_bit should toggles.
I programmed 90%. But problem in storing and retrieving from EEPROM.
The storing value in EEPROM is done but when I retrieve it,its decimal point missed.
As I stored 4.56 and when retrieve it would 456.