Online comprehensive manual for programming PIC microcontrollers in BASIC.
Learn how to write your own program, debug it, and use it to start the microcontroller. We have provided plenty of practical examples with necessary connection schemes: temperature sensors, AD and DA converters, LCD and LED displays, relays, communications, and the book is constantly being updated with fresh examples. All code is commented in details to make it easier for beginners. Instruction set, operators, control structures, and other elements of BASIC are thoroughly explained with many examples. Also, the book includes a useful appendix on mikroBasic development environment: how to install it and how to use it to its full potential.
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 shouldn’t bother you too much. Anyway, it is better that your program works than that it doesn’t. 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 doesn’t 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