PDA

View Full Version : Max7221



suded
- 12th June 2017, 03:23
Hi,
I'm using MAX7221 display driver, I know how to set it up.
I need to send serially a 16 bit number to the display, but I found that I need to decode the number into digits digit 1, digit 2... etc.
Can you provide some guidance on how to do that please?
my number is stored as 16 bit Word, how can I convert that into digits please?
Max. number is 9999, so I'm using only 4 digits 7 segment display.
Regards,
Suded

suded
- 12th June 2017, 03:25
I'm using PIC18F1320 micro.
Suded

HenrikOlsson
- 12th June 2017, 06:29
Look up the DIG operator in the manual.

/Henrik.

suded
- 12th June 2017, 07:30
Hi Henrik,
Thanks for your help, found it.
Suded