More work on the toolkit for event based programming in the Arduino.