Hi Bill,
No idea what's wrong at this point.
But I did run your program as is, no changes, on an 18F252.
Works the same with either PBPW or PBPL.
You can also do the same thing like this ...Added:Code:for X = 0 to 239 PORTB = DCD (X >> 6) pause 5 next X
So that it only affects those 4 pins, you could do this ...Code:PORTB = (PORTB & $F0) | DCD (X >> 6)
Bookmarks