See these
http://www.picbasic.co.uk/forum/showthread.php?t=3753
http://www.picbasic.co.uk/forum/showthread.php?t=544
and then ....
Paul Borgmeier
Salt Lake City, Utah
USA
See these
http://www.picbasic.co.uk/forum/showthread.php?t=3753
http://www.picbasic.co.uk/forum/showthread.php?t=544
and then ....
Paul Borgmeier
Salt Lake City, Utah
USA
Last edited by paul borgmeier; - 13th June 2006 at 20:02.
Although slightly contrived and uses more RAM - this does it.
Paul BorgmeierCode:Relay var Byte[4] x var byte i var byte Relay[1] = 14 'RB6 Relay[2] = 20 'RC4 Relay[3] = 26 'RD2 main: ' cycle through relays for i = 1 to 3 x = relay[i] porta.0[x]=1 PAUSE 1000 porta.0[x]=0 PAUSE 300 next i
Salt Lake City, Utah
USA
Bookmarks