August 2008
Beginner to intermediate
304 pages
6h 2m
English
• Variable types
• Floating point numbers
• Characters
• Assignment operators
A main function of any computer program is to carry out calculations and other forms of data processing. Data structures are made up of different types of numerical and character variables, and a range of arithmetical and logical operations are needed. Microcontroller programs do not generally need to process large volumes of data, but processing speed is often important.
Variables are needed to store the data values used in the program. Variable labels are attached to specific locations when they are declared at the beginning of the program, so the MCU can locate the data required by each operation in the file registers.
Read now
Unlock full access