comparison main.c @ 88:5fc6a25f40ef

Disable LCD init code since this board doesn't have it.
author Daniel O'Connor <darius@dons.net.au>
date Fri, 13 Mar 2015 11:36:41 +1030
parents f1c9a51e368a
children
comparison
equal deleted inserted replaced
87:e30fe4bb8011 88:5fc6a25f40ef
136 ; 136 ;
137 } 137 }
138 138
139 /* Set stdout to unbuffered */ 139 /* Set stdout to unbuffered */
140 setvbuf(stdout, NULL, _IONBF, 0); 140 setvbuf(stdout, NULL, _IONBF, 0);
141
142 /* Say hello */ 141 /* Say hello */
143 fputs("\n\n\nHello world\n", stdout); 142 fputs("\n\n\n"
144 143 "===============\n"
144 "==== Reset ====\n"
145 "===============\n",
146 stdout);
147
148 #if 0
145 lcd_stripes(); 149 lcd_stripes();
146 150
147 lcd_circle(20, 20, 20, 1, LCD_RED); /* Bottom left */ 151 lcd_circle(20, 20, 20, 1, LCD_RED); /* Bottom left */
148 lcd_circle(300, 220, 20, 1, LCD_WHITE); /* Top right */ 152 lcd_circle(300, 220, 20, 1, LCD_WHITE); /* Top right */
149 lcd_circle(20, 220, 20, 1, LCD_BLUE); /* Top left */ 153 lcd_circle(20, 220, 20, 1, LCD_BLUE); /* Top left */
154 lcd_line(300, 220, 300, 20, LCD_BLACK); 158 lcd_line(300, 220, 300, 20, LCD_BLACK);
155 lcd_line(300, 20, 20, 20, LCD_BLACK); 159 lcd_line(300, 20, 20, 20, LCD_BLACK);
156 160
157 lcd_ellipse(160, 120, 50, 30, 1, LCD_WHITE); 161 lcd_ellipse(160, 120, 50, 30, 1, LCD_WHITE);
158 lcd_ellipse(160, 120, 30, 50, 1, LCD_WHITE); 162 lcd_ellipse(160, 120, 30, 50, 1, LCD_WHITE);
159 163 #endif
160 /* Setup temperature control stuff */ 164 /* Setup temperature control stuff */
161 tempctrl_init(); 165 tempctrl_init();
162 166
163 /* Setup sprinkler stuff */ 167 /* Setup sprinkler stuff */
164 sprink_init(); 168 sprink_init();