| Line 94... |
Line 94... |
| 94 |
// rprintf("\r\nWelcome to GPS Test!\r\n"); |
94 |
// rprintf("\r\nWelcome to GPS Test!\r\n"); |
| 95 |
// timerPause(1000); |
95 |
// timerPause(1000); |
| 96 |
|
96 |
|
| 97 |
lcd_init(); // Init LCD (interface and display module) |
97 |
lcd_init(); // Init LCD (interface and display module) |
| 98 |
rprintfInit(lcd_putc); |
98 |
rprintfInit(lcd_putc); |
| 99 |
rprintfProgStrM("Ahoj..."); rprintfCRLF(); |
99 |
rprintfProgStrM("Ahoj...xxxxx"); rprintfCRLF(); |
| 100 |
_delay_ms(500); |
100 |
_delay_ms(500); |
| 101 |
lcd_clear(); |
101 |
lcd_clear(); |
| 102 |
|
102 |
|
| 103 |
// run example gps processing loop |
103 |
// run example gps processing loop |
| 104 |
// (pick the one appropriate for your GPS packet format) |
104 |
// (pick the one appropriate for your GPS packet format) |
| Line 132... |
Line 132... |
| 132 |
if((inb(PIND) & 0b01000000)==0) |
132 |
if((inb(PIND) & 0b01000000)==0) |
| 133 |
gpsInfoPrintLCD(); |
133 |
gpsInfoPrintLCD(); |
| 134 |
else |
134 |
else |
| 135 |
gpsInfoPrintLCD2(); |
135 |
gpsInfoPrintLCD2(); |
| 136 |
|
136 |
|
| - |
|
137 |
/* |
| 137 |
sbi(DDRC, 0); // sets PC0 to be an output |
138 |
sbi(DDRC, 0); // sets PC0 to be an output |
| 138 |
cbi(PORTC, 0); // sets PC0 to output a LOW |
139 |
cbi(PORTC, 0); // sets PC0 to output a LOW |
| 139 |
_delay_ms(5); |
140 |
_delay_ms(5); |
| 140 |
sbi(PORTC, 0); // sets PC0 to output a HIGH |
141 |
sbi(PORTC, 0); // sets PC0 to output a HIGH |
| - |
|
142 |
*/ |
| 141 |
} |
143 |
} |
| 142 |
} |
144 |
} |
| 143 |
|
145 |
|