int main() {
int value = -1;
int led_val = 0;
while(1) {
if(value >= 0 && value <= 180)
{
}
printf("%i\n", value);
}
}
int connectArduino(char *port, int baudRate, int id)
Definition: ModmataC.c:93
void pinMode(uint8_t pinNum, uint8_t mode)
Definition: ModmataC.c:121
void servoWrite(uint16_t pinNum, uint16_t input)
Definition: ModmataC.c:264
int analogRead(uint16_t pinNum)
Definition: ModmataC.c:212
void servoAttach(uint16_t pinNum)
Definition: ModmataC.c:237
#define INPUT
Definition: ModmataC.h:39