Code for the Mega 2560 in the vending machine at Familab.org