aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cxx
blob: 7734d6e4c853c67605600c3d1f431c5a0db0adcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int main(void)
{
    init();
    setup();

    while (1) {
        loop();
    }
    return 0;
}


/* Implemented:
 * void pinMode(pin, mode) 
 * void digitalWrite(pin, value)
 * uint32_t digitalRead(pin)
 * uint32_t analogRead(pin)
 * void randomSeed(seed)
 * long random(max)
 * long random(min, max)
 * */