Integral versao 1 c/ semaforo