You are currently browsing the Pilot’s Logbook weblog archives for May, 2009.
- 1. March 2010: Solve this!
- 29. January 2010: PIC32 Starter Kits Software v2.0
- 27. January 2010: Animation on the MikroE PIC32MX4 Multimedia Board
- 26. December 2009: Merry Christmas and Happy New Year
- 18. November 2009: MikroE MX4 Multimedia Board
- 30. September 2009: Good old printf() (continued)
- 26. August 2009: Changing habits... and dreaming a bit
- 24. July 2009: Where is my RAM?
- 15. July 2009: Olimex PIC-P32MX board
- 28. June 2009: A Great New Board from mikroElektronika
Archive for May 2009
Loosing your Head(er)
20. May 2009 by pilot.
Contrary to what most MPLAB users believe, the “Headers” folder in MPLABĀ Project window is not affecting the compiler selection and access to .h files. It is there merely to let you access them quickly and open them in the editor window.
If you want to make sure that the compiler finds the .h files you are using you have to make sure to do one of two things:
A) Put the .h files (or copies) in the main project directory and use:
#include “xxx.h” (note the use of quotes).
or
B) Make sure to add the directory(-ies) where the .h files are to the “include search path” list in the Build Options for Project Dialog Box. Now you can use #include <xx.h> (note the angled brackets used as quotes)
Method A) is used for simplicity in the first half of the book.
Method B) is used in the second half of the book as we start building more advanced modules/libraries. The steps to add the include directory path to the Build Options for Project Dialog box are described in Chapter 10 (Day 10) page 238 and following…
Don’t loose your head(er)…
Posted in PIC32, MPLAB | No Comments »
MicroC/OS II
5. May 2009 by pilot.
I finally got my hands around “the book” on Real Time Operating Systems.
Read it all in a couple of days… I loved the clarity and completeness.
Highly, highly recommended! Definitely added to my “favorites” bookshelf !
Posted in Books, PIC32, Tools | No Comments »