The declaration part is the most important part for defining the Finite state machine. In the declaration part all necessary I/O is declared for the machine, based on the used pins, the number of pins used for a certain I/O type and the logical name (tagname) for the used pin(s).  

It is possible to define all types of I/O. The Arduino supports digital and analogue I/O. Analogue outputs are simulated by a number of (PWM[1]) pins. Most important for this part, is the definition of the pins and the definition of the tags, e.g. the InputTags and OutputTags. The number of Tags have to be equal with the number of Input/Ouput pins. The standard software assigns the defined pins to the defined I/O type and with the tagnames for easy programming. See also chapter 10, for the behavior of the board.   



[1] PWM: Pulse Width Modulation