MikroBasic - 2008 On-line edition MikroBasic za...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2008 On-line edition MikroBasic za mikrokontrolere Edin Music Table of Contents Preface Chapter 1: The Basics Chapter 2: Elements of BASIC Language Chapter 3: Operators Chapter 4: Control Structures Chapter 5: Built-in and Library Routines Chapter 6: Examples with PIC Integrated Peripherals Chapter 7: Examples with Displaying Data Chapter 8: Examples with Memory and Storage Media Chapter 9: Communications Examples Appendix A: mikroBasic IDE Preface In order to simplify things and crash some prejudices, I will allow myself to give you some advice before reading this book. You should start reading it from the chapter that interests you the most, in any order you find suitable. As the time goes by, read the parts you may need at that exact moment. If something starts functioning without you knowing exactly how, it shouldnt bother you too much. Anyway, it is better that your program works than that it doesnt. Always stick to the practical side of life. Better to finish the application on time, make it reliable and, of course, get paid for it as well as possible. In other words, it doesnt matter if the exact manner in which the electrons move within the PN junctions escapes your knowledge. You are not supposed to know the whole history of electronics in order to assure the income for you or your family. Do not expect that you will find everything you need in a single book, though. The information are dispersed literally everywhere around us, so it is necessary to collect them diligently and sort them out carefully. If you do so, the success is inevitable. With all my hopes of having done something worthy investing your time in. Yours, Nebojsa Matic 2 Chapter 1: The Basics Introduction Why BASIC? Choosing the right PIC for the task A word about code writing Writing and compiling your program Loading program to microcontroller Running the program Troubleshooting Introduction Simplicity and ease which higher programming languages bring in, as well as broad application of microcontrollers today, were reasons to incite some companies to adjust and upgrade BASIC programming language to better suit needs of microcontroller programming. What did we thereby get? First of all, developing applications is faster and easier with all the predefined routines which BASIC brings in, whose programming in assembly would take the largest amount of time. This allows programmer to concentrate on solving the important tasks without wasting his time on, say, code for printing on LCD display. To avoid any confusion in the further text, we need to clarify several terms we will be using frequently throughout the book: Programming language is a set of commands and rules according to which we write the program....
View Full Document

Page1 / 158

MikroBasic - 2008 On-line edition MikroBasic za...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online