- Get into MPLAB IDE by double-clicking the S215.mcw workspace file in your C
Programs folder. (Don't open MPLAB IDE by clicking the Windows Start button and finding it there.)
- To see the files in your folder, right-click the Windows Start button in the lower left-hand corner of your screen and choose Explore.
- There will be less confusion if you close down the C: drive folder.
- The flash drive folder will appear under the Computer folder.
- If you need to load the program you're going to compile, here's how:
- In the S215.mcw project window, click
whatever file is listed under Source
Files and press the Delete button on the keyboard.
- Right-click Source Files,
and select Add Files from the
menu.
- In your C Programs folder, double-click the program you're wanting to open.
- Once the program's file name appears below Source Files in the project window, double-click it to
open up the file into an editing window.
- Click the Make
icon on the toolbar.
- When the compiler has finished, you should see Build Succeeded in the output window.
- With the PICkit3 and PIC18 board connected to the USB cable, turn on the 5 volt supply.
- On the menu bar, click Debugger
and then Program.
- When your program has finished being programmed into the PIC chip, click the run icon (blue-green arrow pointing right).
|