project now compiles without errors. added types for limit switches and buttons