Subversion Repositories Code-Repo

Compare Revisions

Regard whitespace Rev 207 → Rev 208

/PIC Stuff/Cerebot_32MX7_LED_Cube/main.c
110,20 → 110,20
 
// Process button inputs
BTN_DATA btn_data;
BTN_Init(&btn_data, &BTN1_Interrupt, &BTN2_Interrupt, NULL);
BTN_Init(&btn_data, &BTN1_Interrupt, &BTN2_Interrupt, &BTN3_Interrupt);
// Begin display
 
Cube_Set_All(0xFF,0,0);
Delay_MS(6000);
Cube_Set_All(0,0xFF,0);
Delay_MS(6000);
Cube_Set_All(0,0,0xFF);
Delay_MS(6000);
// Cube_Set_All(RED);
// Delay_MS(6000);
// Cube_Set_All(GREEN);
// Delay_MS(6000);
// Cube_Set_All(BLUE);
// Delay_MS(6000);
 
// Set the overlay text
char text_string[] = "CCMLab ";
Cube_Text_Init(text_string, 7, 0xFF, 0xFF, 0xFF);
char text_string[] = "Welcome to the CCM Lab ";
Cube_Text_Init(text_string, 26, 0xFF, 0xFF, 0xFF);
TIMER4_Start();
 
// Loop through some preset animations