The Arduino library compiled and ready for linking
When you compile your ‘sketch’ with the Arduino IDE one of the steps it takes is to quietly compile, on-the-fly, all the library files that supply the popular classes and functions such as Serial,...
View ArticleAn introduction to the ATtiny85/45/25
The ATtiny range of microcontrollers are ATmel’s smallest and lowest power 8-bit AVR offerings. Typically they come with between 1K and 16K of program memory and 512 bytes of SRAM and 512 bytes of...
View ArticleUSBasp drivers for 64 bit Windows 7
The most cost-effective way to program an ATmega/ATtiny MCU that’s not embedded in a development board such as the Arduino is to buy yourself a USB in-system programmer (ISP). There are dozens...
View ArticleDebouncing buttons in AVR C++
On the face of it, reading the open/closed state of a button should be straightforward. You would just wire up the button circuit and tap the current flow into one of the Arduino digital pins...
View ArticleDebounced buttons with auto-repeat in AVR C++
This article presents a C++ class that implements an auto-repeat button. An auto-repeat button behaves like a key on a keyboard. That is, it fires first when you press it and then repeatedly when you...
View ArticleLCD backlight and contrast manager
This article will present a circuit and accompanying source code that you can use to control the backlight and contrast functions of an HD44780-compatible LCD. Controlling these functions from software...
View ArticleAnimation on the Arduino with easing functions
In this article I’ll show you how to do advanced animation techniques on the Arduino using what are known as easing functions. What’s an easing function? Computer animation of motion involves making an...
View ArticleDebugging AVR dynamic memory allocation
The avr-libc port of the standard C library for gcc supports dynamic memory allocation through malloc() and free(). These functions (particularly when used to implement the new and delete C++...
View ArticleThe Standard Template Library (STL) for AVR with C++ streams
Yes you did read that correctly, this post will present a port of the Standard Template Library, or STL as it’s more commonly known, to the AVR microcontrollers. Introduction The STL has been around...
View Articleavr-gcc 4.9.2 and avr-libc 1.8.1 compiled for Windows
It’s been about 3 years now since I last compiled up avr-gcc and avr-libc for Windows and it proved surprisingly popular with you so I’m now bringing you the latest, as of March 2015, versions of...
View Article
More Pages to Explore .....