Thanks Joe - I'll try it when get home tonight
"LED var byte[10] '10 bits - 1 for each led segment
LED0 var PortB.0
LED1 var PortB.1
LED2 var PortB.2
LED3 var PortB.4
LED4 var PortB.5
LED5 var PortB.6
LED6 var PortB.7
LED7 var PortA.0
LED8 var PortA.1
LED9 var PortA.2"
I tried this - I must have misread the manual, I thought the bit number had to be in brackets.
"remove some of my favorite pasta too many if thens for me. " I'm still learning how to write clean code
Thanks again - I'll post again tonight.
Alec
Bookmarks