int main() {
int value = -1;
int led_val = 0;
while(1) {
if(value != led_val) {
led_val = value;
}
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
int analogRead(uint16_t pinNum)
Definition: ModmataC.c:212
void analogWrite(uint8_t pinNum, uint16_t input)
Definition: ModmataC.c:190
#define OUTPUT
Definition: ModmataC.h:40