Subversion Repositories Code-Repo

Rev

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

Rev 243 Rev 255
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
    Delay_MS(2000);
38
    Delay_MS(2000);
38
    while (1) {
39
    while (1) {
39
        Tron_Update_Frame();
40
        Tron_Update_Frame();
40
        Delay_MS(data_p->delay);
41
        Delay_MS(data_p->delay);
41
    }
42
    }