How to store a number in decimal format in avr
问题 I am trying to enter the decimal values using a keypad in ATMega8 Till now I have been able to enter only the integer values The code is given below switch (keyCode) { case (0xee): keyPressed="1"; b=1; a=a*10+b; break; case (0xed): keyPressed="4"; b=4; a=a*10+b; break; case (0xeb): k keyPressed="7"; b=7; a=a*10+b; break; case (0xde): keyPressed="2"; b=2; a=a*10+b; break; case (0xdd): keyPressed="5"; b=5; a=a*10+b; break; case (0xdb): keyPressed="8"; b=8; a=a*10+b; break; case (0xd7):