Documents

Creating the first Project in mikroBasic for PIC

Description
Creating the first Project in mikroBasic for PIC
Categories
Published
of 12
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  DISCLAIMER: All products are owned by MikroElektronika and protected by copyright law and interna-tional copyright treaty. Therefore, you should treat this manual as any other copyrightmaterial. It may not be copied, partially or as a whole without the written consent of MikroElektronika. Manual PDF – edition can be printed for private or local use, but notfor distribution. Modifying manual is prohibited.LICENSE AGREEMENT:By using our products you agree to be bound by all terms of this agreement. Copyrightby MikroElektronika 2003 – 2008.  The mikroBasic for PIC  organizes applications into projects consisting of a single projectfile (extension .pbp) and one or more source files (extension .pbas). MikroBasic for PIC IDE  allows you to manage one project at a time. Source files can be compiled only if they arepart of a project. Aproject file contains the following information:  Project name and optional description;  Target device;  Device flags (configuration word);  Device clock;  List of the project source files;  Binary files (*.mcl); and  Other files. In this manual, we will create a new project, write code, compile it with mikroBasic for PIC  and test the results. Our example will make LED diodes blink and it will be easy to test it onPIC microcontroller therefore. 3 Project  4 Hardware Connection The connection schematic shown below is needed for testing the code for PIC microcon-trollers. LED diodes are connected to PortC. In this example you can use only PORTCbecause this simple program will change the state of this port only. Prior to start, you have to go through the following steps: Step 1:Install the compiler  Insert the product CD, D:/zip/mikrobasic/mikrobasic_7002_setup.zip and install the mikroBasic for PIC  compiler. Desktop shortcut and start menu shortcuts will be created. Step 2:Run the compiler  Run the mikroBasic for PIC  compiler. The mikroBasic for PICIDE  (Integrated DevelopmentEnvironment) will appear. After these two steps you are ready to create a new project.
Search
Tags
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks