Subversion Repositories Code-Repo

Rev

Rev 255 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 255 Rev 276
Line 32... Line 32...
32
}
32
}
33
 
33
 
34
void Tron_Main(void) {
34
void Tron_Main(void) {
35
    // Main function, loops and delays while updating the frame every x milliseconds
35
    // Main function, loops and delays while updating the frame every x milliseconds
36
    Tron_Update_Direction(0x04,0x04);
36
    Tron_Update_Direction(0x04,0x04);
37
    Controller_Set_Leds(0x01,0x01);
37
//    Controller_Set_Leds(0x01,0x01);
38
    Delay_MS(2000);
38
    Delay_MS(2000);
39
    while (1) {
39
    while (1) {
40
        Tron_Update_Frame();
40
        Tron_Update_Frame();
41
        Delay_MS(data_p->delay);
41
        Delay_MS(data_p->delay);
42
    }
42
    }