<code lang=C>
// initialise button pins pullup
//
set(button_port,LeftBton_pin);
set(button_port,RightBton_pin) ;
set(button_port,LightBton_pin);
//initialise inputs
set(Lights_direction,LeftBton_pin);
set(Lights_direction,RightBton_pin);
set(Lights_direction,LightBton_pin) ;
</code>
</code>
par