raman00084
Full Member level 6
please send sample program for bcd to decimal conversion in c
i am using pic16f877a ccs complier
i am using pic16f877a ccs complier
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Code C - [expand] 1 decNum = ((bcdNum >> 4) * 10) + (bcdNum & 0b00001111)
@Raady
((data & 0xF0) >> 4) is same as (data >> 4)