1
Microcontrollers / Re: Routines to convert binary to BCD in C code
« Last post by Picuino on Today at 07:10:21 pm »In this project, the problem was to print 48-bit numbers (16 bits of the main uC counter + 32 bits of the carry counter).
In that case the speed was not important, but to be able to do conversions of many bits. I solved it with custom subroutines for 48bit bit-shift and the algorithm I have previously published.
In that case the speed was not important, but to be able to do conversions of many bits. I solved it with custom subroutines for 48bit bit-shift and the algorithm I have previously published.