Browsing All posts tagged under »atmega328p«

Arduino interrupts in C: implementing a time switch

December 15, 2014


This post continues the series of simple Arduino applications written in C instead of the official Arduino language and IDE. See the previous posts about the basics, using a buzzer and a LED matrix. The goals of using C are mainly to understand better the microcontroller, to reduce the needed resources in terms of code memory, RAM and […]

Drawing on a 7×5 LED matrix with Arduino in C

November 15, 2014


In my component drawers I have a LTP-7357AG, which is a matrix of 35 green LEDs conveniently packaged in a 12-pin display. I wanted to play with it so I began to hook it with my Arduino Uno. This post is part of a series about programming Arduino applications in C. I’m going to show the results first, […]

Using a buzzer with Arduino in pure C

October 15, 2014


Since one of my most viewed posts is Programming Arduino Uno in pure C, I wanted to write other posts about common Arduino functionalities implemented in C instead of the default language. This post is part of a series about programming Arduino applications in C, using a Debian computer with avr-gcc compiler. This time I’m using a buzzer […]

Programming Arduino Uno in pure C

March 29, 2011


We look under the hood of Arduino IDE, and use the avr-gcc compiler directly to build a program in C. We then use avrdude to upload it on Arduino Uno board.