Hallo,

Weiß jemand von euch woran es liegt, wenn bei diesem Code

#include “asuro.h”
int main(void) {
Init()
while (1) {
if (PollSwitch()>0) {StatusLED(RED);}
else {StatusLED(GREEN);}
}
}

diese Fehlermeldung erscheint

test.c:5: warning: implicit declaration of function `PollSwitch'
test.c:5: warning: implicit declaration of function `StatusLED'
test.c:5: error: `RED' undeclared (first use in this function)
test.c:5: error: (Each undeclared identifier is reported only once
test.c:5: error: for each function it appears in.)
test.c:6: error: `GREEN' undeclared (first use in this function)
make: *** [test.o] Error 1

> Process Exit Code: 2
Ich hab diesen Code aus der Anleitung.
Wäre sehr dankbar für eine Antwort.

(Bin neu in dem Gebiet)