Microcontroller › AVR › imu sensor mpu 6050 help › Change this statement in your
September 3, 2014 at 4:24 am
#12121
AJISH ALFRED
Participant
Change this statement in your code
lcd_showvalue(ret);
as given below;
lcd_showvalue(ret + ‘0’);
Because the value in ret is 1, it should be converted to the ascii value of ‘1’ before printing it in the lcd.