My problem is the count never sub only add and add if the encoder turn left add and if the encoder turn right add too that's my problemCode:... else OPTION_REG.6 = 1 IF PORTB.2 = 1 THEN CONTADOR = CONTADOR - 1 ENDIF ENDIF INTCON.1 = 0 OPTION_REG.6 = 0 'Here??? RESUME ENABLE
![]()
I'm working with
http://www.bourns.com/data/global/pdfs/pec11.pdf




Bookmarks