// lol.c - Criado pelo studio UNO 2.3
// 23 August 2016 1:09:49 pm
#include <uno.h>
// Declaracao das Variaveis
unsigned char CALIBR1;
unsigned char CALIBR2;
unsigned char CALIBR3;
unsigned char CALIBR4;
unsigned char CALIBR5;
unsigned char SIR1;
unsigned char SIR2;
unsigned char SIR3;
unsigned char SIR4;
unsigned char SIR5;
// Prototipos
void ATUALIA (void);
//Funcoes do Usuario
void ATUALIA (void)
{
SIR1 = __SeguidorGetAnalog(1, 1);
SIR2 = __SeguidorGetAnalog(1, 2);
SIR3 = __SeguidorGetAnalog(1, 4);
SIR4 = __SeguidorGetAnalog(1, 3);
SIR5 = __SeguidorGetAnalog(1, 5);
}
//Funcao Principal
void main(void)
{
__inicializa;
CALIBR1 = (__SeguidorGetAnalog(1, 1) - 12);
CALIBR2 = (__SeguidorGetAnalog(1, 2) - 12);
CALIBR3 = (__SeguidorGetAnalog(1, 3) - 12);
CALIBR4 = (__SeguidorGetAnalog(1, 4) - 12);
CALIBR5 = (__SeguidorGetAnalog(1, 5) - 12);
while(TRUE) { }
}