Introduction to the C-Programming Language 1
C is a foundational programming language, and is the top choice of engineers doing embedded systems development in industry.
This workshop (the first of two) will uncover the fundamentals of the language (per the ANSI-C specification) in an embedded context. Lab exercises will have you compiling, and running C source code on a PIC32® simulator on your laptop.
The workshop begins with an overview of the fundamentals of computing systems, and how we get computers to solve computing problems.
- Understand what a program is, and how programs are used to solve computing problems.
- Understand how to read, write and modify programs written in the C language (per the ANSI-C standard).
- Understand how to compile, simulate and debug basic ANSI-C programs for the PIC32® microcontroller.
- The Big Ideas in Computing (How do we get the electrons to do the work ?)
- How to Compile and Run a C-Program (Introduction to the GNU Compiler Collection (GCC))
- Comments, Variables, Identifiers and Data Types
- Literal and Symbolic Constants
- printf() Library Function
- Operators, Expressions and Statements
- Making Decisions
- Multi-File Projects and Storage Class Specifiers
- Macros with #define
Required Equipment & Components
The lab exercises are tested on a Windows 7 Professional (64-bit) platform, however, should also work on Linux and MAC OS/X platforms. Your PC should also have 2 available (free) USB ports. The following software should be installed/available before attending the workshop: