Quote Originally Posted by EarlyBird2 View Post
Is this the code that does the comparison?

Code:
if (s(59)="S") then
 high portc.3
 s(59)=0
 endif
 if(s(59)="T" and s(60)="a") then
 low portc.3
 s(59)=0
 s(60)=0
 endif
and needs modifying to "LED1ON" and "LED1OFF" but does not work even with the simple test of "S" and "Ta"?
Does this work?