DataLogger code posted on the blog www.mauroalfieri.it