Tero's Arduino Blog

Using Arduino with Ada

Counting seconds with attiny4313

AVR-Ada includes AVR.Real_Time package and separate AVR.Real_Time.Clock function, whose job is to return the current time. On Arduino, the current time means seconds from the device bootup, in other words it tells you how long the device has been on.

Relevant code is following

with AVR.Real_Time ...

Controlling 4-digit 7-segment display


A seven-segment display is nice for showing a single number. And 4-digit display is 4 times as nice since it can show four numbers.

However, using 4-digit version is also somewhat more complicated. The 4-digit 7-segment display (which I use) is done so that each digit will have same ...


Page 1 / 1

Copyright © 2012, 2013 Tero Koskinen - Theme Skeleton; Blogging engine Pelican; Powered by Python