#define F_CPU 16000000UL #include void init_display(); // declare lookup tables and variables here int main(void) { init_display(); while(1) { // main loop goes here } } void init_display() { // initialize necessary ports }