In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: As many of you know from my past posts, I have been trying to work on a way to combine a working DS1302 program on an SX28 to an LCD - to - a working 16x16 LED matrix scrolling program on an SX52. The 16x16 LED matrix can scroll messages that are in a DATA statement either on the top 8 rows or bottom 8 rows of the matrix and it works well thanks to great help from JonnyMac. I thought before that I did not have enough RAM in the SX52 to run both programs on the SX52. However, I was able to remove some other scrolling test routines and now seem to have enough RAM with no problems. I have been struggling with this for many nights now and feel I am very close now that I do not have to use RX and TX commands from one SX28 DS1032 circuit to another SX52 16x16 LED matrix circuit. Everything is being controlled now by 1 SX52 chip. What I need help with is for someone to look over the combined program and tell me how I can take the DS1302 LCD writing subroutine statements and make it work in the LED matrix scrolling routine that normally looks for its bytes to come in the form of a DATA statement and not as an LCD writing routine. However, I do have to comment out the LED matrix INTERRUPT routine command if I connect the SX52 to an LCD. Otherwise odd timing characters show up an the LCD display. The program currently has the Interrupt calling commented out and the 16x16 LED scrolling message calling commented out so that you can connect an LCD. Since this circuit and program uses RA0-3, RB, RC, RD and RE, this could also be built on an SX48 (with all available I/O pins being used up). On the SX52 I still have RA4-7 available for future usage like programing buttons or something - but that's later. I have attached the combination program. If someone can look at this and give me some ideas on how to take the LCD subroutines and insert them into scrolling message subroutine (that is looking for it's Byte message in a DATA statement). Thanks to everyone for helping me on this big project. It has certainly been a huge learning experience for me! Comments / Assistance... ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=183305 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)