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 ...
[more]

Page 1 / 1


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