Thanks Richard, that code works, but that is a way more difficult understand to me because ASM and so on.
A few things I've noticed when I tried the code:
- your code is a way shorter in MCU memory like mine, which is good
- multiplex is a bit slower I see some flickers
- if I put in to the "value" variable mumber "1234" the display shows "4321"
of course I changed this line
arraywrite buff ,[HEX4 value,0]
to
arraywrite buff ,[DEC4 value,0]
Anyway, it is a good example how the skilled programmer thinks, and how a beginner thinks.
Bookmarks