Hein (fub) wrote,

  • Mood:

MACH F: Display update

I'm working furiously on the MACH F display firmware. I have changed my test software to take characters from an in-memory buffer, and use a lookup-table to determine the bit-patterns to shift in. I even made the number of displays variable -- not that that helps for this project, but using the same software for a project with more displays will "only" be a matter of adapting a certain constant.

The odd thing is, that if I want to show "mach f", the fourth multiplex phase isn't shown. But if I put "macqxx" in the buffer, it does work. Clearly there's something wrong with my looping conditions, and it is influenced by the characters to be displayed. But if I simulate it all in MPLAB, it does go OK.

Maybe, just maybe, it has something to do with the fact that I set the target architecture in MPLAB (the Microchip assembly IDE) to 16F628, while I'm working with the 16F628A -- version 5.7 of MPLAB IDE doesn't have the 16F628A yet. I'm downloading the newest version right now, see whether that helps.

It gets curiouser and curiouser...

EDIT: No, that wasn't the solution. More debugging tonight!

  • The case of (the) exploding beer!

    This morning, just as we were about to leave for work (I had already locked the back door behind klik), I heard a loud bang behind…

  • (no subject)

    I just finished the last of Fubaria Nr. 1. Luckily Fubaria Nr. 2 is ready to be drunk.

  • Beer labels

    Did the bottling of the third batch, which is a 'Duvel'-clone, called 'Diabolo'. I think I forgot to add one liter of water when I started the brew,…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment