crashtest-r0ket/main.c
Stefan `Sec` Zehl 1d4790886a Improve dependencies in lcd/ - add generated lcd/allfonts.h to avoid
including all the fonts one by one
2011-05-21 19:12:51 +02:00

34 lines
565 B
C

#include <sysinit.h>
#include "basic/basic.h"
#include "lcd/render.h"
#include "pmu/pmu.h"
#include "eeprom/eeprom.h"
void ReinvokeISP(void);
/**************************************************************************/
void wrapper(void);
int main(void) {
// Configure cpu and mandatory peripherals
systemInit();
//enable clocks to adc and watchdog
pmuInit();
// initialise basic badge functions
rbInit();
lcdInit(); // display
adcInit();
lcdFill(0);
lcdDisplay(0);
wrapper(); // see module/ subdirectory
}