Why do this?
RobertCode:FOR AUX = 0 TO 4 LED = 1 PORTA = 255 PORTC = 255 PAUSE 500 LED = 0 PORTA = 0 PORTC = 0 PAUSE 500 NEXT AUX
Why do this?
RobertCode:FOR AUX = 0 TO 4 LED = 1 PORTA = 255 PORTC = 255 PAUSE 500 LED = 0 PORTA = 0 PORTC = 0 PAUSE 500 NEXT AUX
Robert:
It works... the problem with Porta.6 was configuration. It was as oscilator output.
Changing & _CLKOUTEN_ON TO & _CLKOUTEN_OFF , in _CONFIG2 ,turn off the porta,6 and then
can be used as normal i/o port.
Thanks again...
Ruben de la Pena
Edited: I was testing the ports as IO.
Greetings...
Ruben de la Pena
Last edited by Ruben Pena; - 5th December 2014 at 00:01. Reason: I forgot to anwer to your cuestion..
Bookmarks