I breadboarded a minimal PIC18F45K50 circuit. The LED in the circuit was added to so I can test a minimal "blink the LED" app. This minimal circuit does not yet include the USB connector, nor powering via the USB bus. However, it does interface properly to the PICkit 3 programmer (via the 6-pin male header to lower left of IC, rows 21-26 of breadboard), and I was able to blink the LED and set up breakpoints from the MPLAB X IDE.
In case you're wondering how the LED manages to be on despite there being no power applied, it's actually off. What you're seeing is the camera's flash being reflected!
In case you're wondering how the LED manages to be on despite there being no power applied, it's actually off. What you're seeing is the camera's flash being reflected!
Added 2/25/2014: In response to comment from hoylegj, here is a zip file of the source. Really just a few lines in main.c, plus changing the default auto-generated configuration settings in configuration_bits.c to use the internal oscillator.
| blink18f45k50.x.zip |
RSS Feed