Search
 
SCRIPT & CODE EXAMPLE
 

C

bcd to char c

void BCD_To_ASCII(unsigned char bcd_value, char * p_ascii_text)
{
  //--------------------------------------------------
  // BCD contains digits 0 .. 9 in the binary nibbles
  //--------------------------------------------------
  *p_ascii_text++ = (bcd_value >> 4)  + '0';
  *p_ascii_text++ = (bcd_value & 0x0f) + '0';
  *p_ascii_text = '';
  return;
}
Comment

PREVIOUS NEXT
Code Example
C :: gandhi ashram saharanpur 
C :: fine print serial key 
C :: arduino internal pull up resistor 
C :: fifo page algorithm in C 
C :: cast from float to long c 
C :: Here is a program in C that illustrates the use of fprintf() to write a text file: 
C :: cocktail sort in c 
C :: dev c online 
C :: While loop output 
C :: block quote in lua 
C :: insertNode 
C :: uninstall elgg from hostgtor 
C :: arrow keys gaming keyboard 
C :: send data to port in c 
C :: #pragma pack(1) in c 
C :: injection 
C :: Categorize students according to their marks 
C :: Trier lexicographiquement en c 
C :: clarity ppm jasper domain commands 
C :: copy a number of characters to another string in c without standard library 
C :: how much larger integer i can input in c language? 
C :: putting character in the begginig and end of sring C 
C :: sdl close ev 
C :: programmation c 
C :: function for 2d dynamic array 
C :: c local variable 
Dart :: flutter textformfield hide underline 
Dart :: flutter lock screen to portrait mode 
Dart :: flutter replace character in string 
Dart :: flutter tooltip circle border 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =