Horje
bcd to char c Code Example
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 = '\0';
  return;
}




C

Related
Convert Series to DateTime Code Example Convert Series to DateTime Code Example
#include<stdio.h> int main() { for(5;2;2) printf("Hello"); return 0; } Code Example #include<stdio.h> int main() { for(5;2;2) printf("Hello"); return 0; } Code Example
how to debug a segmentation fault in c Code Example how to debug a segmentation fault in c Code Example
c code to algorithm converter online Code Example c code to algorithm converter online Code Example
Navigator.of(context).pop(); gives black screen instead of closing draer Code Example Navigator.of(context).pop(); gives black screen instead of closing draer Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9