I am using BASCOM AVR and I would like to ask.
How to convert a decimal to 4 bit binary digit.
For example.
Convert 7 to 0111 Convert 8 to 1000 Convert 9 to 1001
Thank you very much
I am using BASCOM AVR and I would like to ask.
How to convert a decimal to 4 bit binary digit.
For example.
Convert 7 to 0111 Convert 8 to 1000 Convert 9 to 1001
Thank you very much
nibble
Have something to add? Share your thoughts — no account required.
Ask the community — no account required