CCCPaste
//G06_VI
void ActualizaEntradaBotones(void)
{
switch (read_LCD_buttons())
{
case BOT_UP: boton = BOTON_MARCHA; return;
case BOT_DOWN: boton = BOTON_PARADA; return;
case BOT_LEFT: boton = BOTON_DEC; return;
case BOT_RIGHT: boton = BOTON_INC; return;
case BOT_SELECT: boton = BOTON_EMERGENCIA; return;
default: boton = BOTON_NULL; return;
}
}