...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#define LED_PIN 13
int counter = 0;
void setup()
{
pinMode(LED_PIN, OUTPUT);
}
void loop()
{
digitalWrite(LED_PIN, HIGH);
delay(1000);
digitalWrite(LED_PIN, LOW);
delay(1000);
counter++;
} |
Variablen:
int (byte, int, uint, long, ulong)
Ganzzahlige Variablen
z.B. int x = 22;
...