PDA

View Full Version : NMIY-0020 display


lday13
04-13-01, 12:28 PM
I am a EE student and recently purchased the NMIY-0020 board for my senior design project. I do not know C, so I am programming this in assembler. I purchased the display with the board. Can I use the display and the real time clock chip with the HC11 chip using assembler and if so, how?

Thank you,

jya
06-15-01, 12:21 PM
I have the same board, but I program it in Forth. Forth is interactive, so I can just enter my program from the keyboard or have Maxterm get it from disk.

I have Forth code that does what you want, and if you are willing to learn enough Forth to translate it you are welcome to it. (Personally, I think that your best bet would be to learn enough Forth to use it as is and add to it.) You can ask me for the code by emailing me at jya@ieee.org

My code reads the clock chip and shows the time on the LCD, turning it into a clock that shows time, date, and day of week. It is just a demo, so it takes over the machine. To use it for something serious, it would need to become one task of many.

Jerry

P.S. If you undertake to translate my code, I will help with that as time permits. While Forth is a high-level language, the closer a task is to manipulating hardware, the closer Forth and assembly become. (At least the way I write it.) We can also correspond about Forth, and there are many cheerful experts frequenting the newsgroup comp.lang.forth who are happy to help newbies.