error hereCode:CMCON = %00000111 TRISA = %11111110
What?Code:while 1=1
will never work, well it might, but not the way you'd expectCode:portb.8 = 1 zet led 4 aan
If that's meant to be a label, won't work...Code:'PWM VOOR 1 LEDje:
If you've got pwmled1 defined as a byte, no need to reset it, it'll just roll over to zeroCode:if pwmled1 = 255 then pwmled1 = 0





Bookmarks