led dot matrix display
PFloyd36069
Posts: 135
hello,
i have a led dot matrix display similar to this one but not as fancy( http://www.avagotech.com/docs/AV02-0195EN), and i have got it working, and am able to type the numbers into the code( eg. three). i was wondering what i would need to do to be able to just send it a decimal from say another cog that is reading a sensor or something. ill post what i have so far·of the code....
Thanks,
Bryan
i have a led dot matrix display similar to this one but not as fancy( http://www.avagotech.com/docs/AV02-0195EN), and i have got it working, and am able to type the numbers into the code( eg. three). i was wondering what i would need to do to be able to just send it a decimal from say another cog that is reading a sensor or something. ill post what i have so far·of the code....
Thanks,
Bryan
Comments
This way your code only has to change the values in the digit-array for displaying other numbers. You understand the change? @zero is the base address of your character-definitions. If you want to display a "0" you can start at address @zero + 0 * 5. If you want to display a "7" you'd start at address @zero + 7 * 5, because each character needs 5 bytes in your definition.
But .. are you sure that you have to repeat the output loop when nothing has been changed?
thanks,
bryan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH