Part of the Professional Arduino Series

Skeleton source file (.ino) and Makefile for an Arduino program. Allows for compilation and download of Arduino programs outside of the IDE, on a command line using the 'make' utility.

The source code provides setup() and loop() functions, and implements the USB based Serial input and output for printf() functions.

Source includes:
 • Macros for printf() to USB Serial link
 • timer1 setup function
 • ISR for timer1 to control 'ticks' in the system
 • Tracking for system elapsed time
 • Simple UART terminal
 • Non-delay based LED blink example using timer1 ...

Sign Up For Full Access
Members gain full access to the Prosource library with dozens of source files for ARM Cortex, ATMega, PIC processors as well as desktop and embedded Linux systems. Solutions for bootloaders, Buildroot and Yocto targets as well as guided articles on embedded development to gain critical knowledge in new systems and speed up development.
Files size: 6.68 KB
RAM usage:400 bytes (19%) of dynamic memory
Avg Flash:4446 bytes (13%) of program space
Source #1 - Members Only
Source #2 - Members Only