Hi, I have a question that I would like if someone can help me to answer it.
I am using a pic 16F690, and when I use the following program:
I am...
Problem with program using pic 16F690
I am using a pic 16F690, and when I use the following program:
Code (Microchip Assembler):
- #include <p16F690.inc>
- __config (_INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_OFF & _BOR_OFF & _IESO_OFF & _FCMEN_OFF)
- Start:
- bsf STATUS,RP0
- bcf TRISC,0x1
- bcf TRISC,0x3
- bcf STATUS,RP0
- bsf PORTC,0x1 ;turn on LED C0
- bsf PORTC,0x3 ;turn on LED C0
- End
I am...
Problem with program using pic 16F690