int main() {
int value = -1;
while(1) {
if(value && !led_state) {
}
else if(!value && led_state) {
}
printf("%i\n", value);
}
}
int connectArduino(char *port, int baudRate, int id)
Definition: ModmataC.c:93
int digitalRead(uint8_t pinNum)
Definition: ModmataC.c:161
void pinMode(uint8_t pinNum, uint8_t mode)
Definition: ModmataC.c:121
void digitalWrite(uint8_t pinNum, uint8_t input)
Definition: ModmataC.c:143
#define INPUT
Definition: ModmataC.h:39
#define HIGH
Definition: ModmataC.h:43
#define OUTPUT
Definition: ModmataC.h:40
#define LOW
Definition: ModmataC.h:42