Beispiel #1
0
int main(){
	
	int board[25];
	InitialiseBoard(&board[0]); //reference address for pointers as first element of array
	PrintBoard(&board[0]);
	return 0;
}
Beispiel #2
0
/**
 * Prepare the various peripherals for use
 */
void init(void) {
    InitialiseBoard(); // Prepare the board (this is basic IO stuff, and also CPU init stuff)
    timer_init(); // Prepare the systick timer
    serial_init(); // Prepare the serial port
    i2c_init();
    eeprom_init();
    jobs_init(); // Prepare the job controller
}