This machine readable form is called the HEX code, every project that we create will have a HEX code which will be in the following directory **Your location**\Blink\Blink.X\dist\default\production\Blink.X.production.hex This is where the part of our compiler comes in a Compiler is one which converts this code into a Machine readable form. In, order to understand this lets have a look at our programĪs we can see this code is written in C-Language and it will make no sense to our MCU. It is a usual practise to upload the code into a MCU and get it working inside the MCU.īut what really happens inside the MCU how does few lines of C-Program get into a silicon chip and gets executed? What happens when we “Burn” a Microcontroller!! 33pf Capacitor – 2Nos, 100uf and 10uf cap.LED Blinking with PIC Microcontroller Materials Required:Īs discussed in our previous tutorial we will need the following materials: To Program the PIC MCU we will be using MPLAB IPE. We will dump the program to our PIC microcontroller and verify the LED Blinking. In this tutorial we will build a small circuit on a Perf Board for Blinking the LED using PIC. Now it’s time for us to get our hands on to the hardware. In our previous two tutorials we discussed How to Get Started with PIC using MPLABX and XC8 compiler, we have also made our First LED Blinking Program with PIC and verified it by simulation.
0 Comments
Leave a Reply. |