This shows you the differences between two versions of the page.
| — |
x0x:main.c [2016/01/28 18:05] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== main.c ===== | ||
| + | |||
| + | Lots of different functions in here: | ||
| + | |||
| + | ==== do_tempo ==== | ||
| + | This is essentially a software interupt. A huge function with a big fat case statement in it. Handles note playing, amongst other things. | ||
| + | |||
| + | ==== Signals ==== | ||
| + | === Output Compare === | ||
| + | Handles sync and tempo. Deals with DinSync and Midi Sync. | ||
| + | |||
| + | === Pin Change === | ||
| + | Handles the tempo knob. | ||
| + | |||
| + | ==== main ==== | ||
| + | Handles initialization, and is the main loop of the program | ||