Beginning C Programming with Arduino®
Did you know that Arduino sketches are written entirely in ANSI C/C++!
C is a foundational programming language, and is the top choice of engineers doing embedded systems development in industry.
This workshop will uncover the fundamentals of the C language (per the ANSI-C specification) in an embedded context. Lab exercises will have you editing, compiling, and running source code on an Arduino UNO board, using the Arduino IDE.
The workshop begins with an overview of the fundamentals of programming, as well as an introduction to the Arduino framework.
- 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 for use in embedded systems.
- Understand how to compile and debug C programs for the Arduino UNO platform.
- Fundamentals of Software Design & Programming
- Arduino Framework (Overview)
- Comments, Variables, Identifiers and Data Types
- Literal and Symbolic Constants
- Formatted text output: Serial.print() & sprintf()
- Operators, Expressions and Statements
- Making Decisions
- Arrays, Structures
- Data Pointers
- 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 1 available (free) USB port. The following software/hardware should be installed/available before attending the workshop:
- Alternatively, if you already have taken Arduino Robotics Workshop 1, you can bring your built/functional "Coolduino UNO CETA Robot" to the course. Construction must be completed at least to the level prescribed in Lab 1 (the "Coolduino UNO" controller board as shown below):