introduced enum for individual GPIO pins
update of examples