Code used in Rome Makerfair 2014, working with Arduino Tre