Well that's great news - I will try the new code tonight assigning binary values as opposed to using the 'high' or 'low' statements.
Here is the test code I was using:
device = 16f628a
x var byte
loop:
for x=0 to 5
high portb.(x)
pause 500
low portb.(x)
pause 500
next x
goto loop
and here is the error message:
Error at line [9] in file [84test.bas] ***Unrecognised characters '(x)'! ***
Error at line [11] in file [84test.bas] ***Unrecognised characters '(x)'! ***
Hopefully assigning a value will work...I'll try it out in about 3 hours when I get the kids to bed and I'm sensing a breakthrough here![]()
Bookmarks