In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: I have attached my modified version of the ROBOLYMPIC code. Jon - I hope we can call a truce as I certainly didn't mean to upset you. You and others from Parallax, incl Bean and a few others on the forum have provided great support. I have taken your previously attached code and I think I have it close now to what I want done to display data on an LED matrix. However, it won't compile with an incorrect statement in the Interrupt code area (it is commented so you can see it). ' --------------------------- INTERRUPT ' --------------------------- ISR_Start: 'RC = 0 'CLEAR DISPLAY OUT TO PREVENT GHOSTING 'Inc RA 'INCREMENT COLUM ADDRESS (RA I/O PINS) 'RC = NOT Display( RA ) 'LOAD NEW ROW DATA TO RC RC = 0 Inc RB [b]testVal = GET_BIG RB[/b] ' PROBLEM IS THIS LINE OF CODE ?????? RC = NOT testVal If RB > 63 then RB = 0 EndIf ISR_Exit: RETURNINT 63 ++++++++++++++++++++++++++++++ testVal = GET_BIG RB 'or any value or number in place of RB (e.g. 0, 63, etc.) does not work. However in the LOAD64 subroutine the "testVal = GETBIG pntr" does work. I tried moving the SUB statements before the Interrupt section, but it made it worse. Any ideas? Anyone? PS: I just received my BS2PX from Parallax today (UPS misrouted it and it took it a week overdue to get to me). I will start looking at this too to convert this code over LATER if possible (but no interrupts on the BS2PX). Thanks, Timothy Gilmore ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=98593#m98864 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)