Please can anyone help out with PIC18F2585? I'm trying to turn ON and turn OFF LEDs. I've written the code and compiled using MPLAB C18 C compiler and using MPLAB ICD2 debugger to program and debug the microcontroller. It doesn't set the PORTS (PORTB and PORTC) to Output. The when I tested the code on the PICDEM4 demo board where PIC18F1320 is used, it works well. The hardware seems ok and voltage readings on the VDD and /MCLR pin are OK, but very low voltage is read on the ports.
Please find attached the sample code written in C.
Thank you very much.
Best Regards,
101
Please find attached the sample code written in C.
Thank you very much.
Best Regards,
101
Attachments
-
1 KB Views: 37