Rev 701 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 701 | Rev 702 | ||
---|---|---|---|
Line 117... | Line 117... | ||
117 | ROT_OFF; |
117 | ROT_OFF; |
Line 118... | Line 118... | ||
118 | 118 | ||
119 | TIMER0_Init(); |
119 | TIMER0_Init(); |
120 | TIMER2_Init(); |
120 | TIMER2_Init(); |
121 | USART0_Init(); |
121 | USART0_Init(); |
122 | //USART1_Init(); |
122 | USART1_Init(); |
123 | rc_sum_init(); |
123 | rc_sum_init(); |
124 | ADC_Init(); |
124 | ADC_Init(); |
125 | i2c_init(); |
125 | i2c_init(); |
126 | MM3_init(); |
126 | MM3_init(); |
Line 179... | Line 179... | ||
179 | else printf("Neutral"); |
179 | else printf("Neutral"); |
Line 180... | Line 180... | ||
180 | 180 | ||
Line 181... | Line 181... | ||
181 | printf("\n\n\r"); |
181 | printf("\n\n\r"); |
- | 182 | ||
182 | 183 | LCD_Clear(); |
|
183 | LCD_Clear(); |
184 | |
184 | I2CTimeout = 5000; |
185 | I2CTimeout = 5000; |
185 | while (1) |
186 | while (1) |
186 | { |
187 | { |