Menu

Custom Search

Microcontroller Program

#include
void main (void)
{
unsigned char bcdbyte;
unsigned char w=`4`;
unsigned char z=`7`;
w=w & 0x0f;
w=w << 4;
z=z & 0x0f;
bcdbyte=w/z;
p1=bcdbyte;
}

No comments:

Post a Comment