This code is used during some Arduino workshops.