Arduino devices are well known amongst hobbyists, but how do you get them to work? James Fowkes takes us through programming a 'sketch' (Arduino-speak for a program)