Introduction to C programming part-2

Project Menu Ribbon


Project - Open an existing project (.PJT) file as specified and the main source file is loaded.

PIC Wizard - This command is a fast way to start a new project. It will bring up a screen with fill-in-the-blanks to create a new project. When items such as RS232 I/O, i2C, timers, interrupts, A/D options, drivers and pin name are specified by the user, the Wizard will select required pins and pins that may have combined use. After all selections are made, the initial .c and .h files are created with #defines, #includes and initialization commands required for the project.

Create - Create a new project with the ability to add/remove source files, include files, global defines and specify output files.

Open All Files - Open all files in a project so that all include files become known for compilation.

Close Project - Close all files associated with project.

Find Text in Project - Ability to search all files for specific text string.

Introduction to C programming part-1

Before i start on tutorial, we need some software to be install in your PC. First is the MPLab and CCS C. well there's a lot of C Programming software but i would like to start on CCS C. you can buy or download the trial version at http://www.ccsinfo.com/. for trial version will be enough for beginners to program simple. but of-course time will come you will be needing large coding which it will force you to buy the license of CCS C.

overview of the software




File Menu

  1. New   - Creates a new File
  2. Open - Opens a file to the editor. Includes options for Source, Project, Output, RTF, Flow Chart, Hex or Text. Ctrl+O is the shortcut.
  3. Close -Closes the file currently open for editing. Note, that while a file is open in PCW for editing, no other program may access the file. Shift+F11 is the shortcut.
  4. Close All- Closes all files open in the PCW.
  5. Save - Saves the file currently selected for editing. Crtl+S is the shortcut.
  6. Save As - Prompts for a file name to save the currently selected file.
  7. Save All - All open files are saved.
  8. Encrypt - Creates an encrypted include file. The standard compiler #include directive will accept files with this extension and decrypt them when read. This allows include files to be distributed without releasing the source code.
  9. Print - Prints the currently selected file.
  10. Recent Files - The right-side of the menu has a Recent Files list for commonly used files.
  11. Exit - The bottom of the menu has an icon to terminate PCW.

PICME

 PICMe Starter Kit banner logo

here is my new PIC programmer, although its very old to others but it work well on me. and i'm now using C language programming which is more easy to manipulate and more option than actually the Assembly language but its better also to understand the assembly where you can easily trouble shoot the errors. soon will post how to use the C language programming and using the PICME.

Litrato