comparison hw.c @ 32:188d5a8a7470

Readd code accidentally removed from last version, now the hot & cold stuff actually works.
author Daniel O'Connor <darius@dons.net.au>
date Tue, 27 Nov 2012 15:56:09 +1030
parents 03592ca4d37e
children a38003b97de6
comparison
equal deleted inserted replaced
31:03592ca4d37e 32:188d5a8a7470
281 * PE3 -> 4 281 * PE3 -> 4
282 * PE4 -> 5 282 * PE4 -> 5
283 * PE5 -> 6 283 * PE5 -> 6
284 */ 284 */
285 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5; 285 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5;
286 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
287 GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
288 GPIO_Init(GPIOE, &GPIO_InitStructure);
286 289
287 OWInit(); 290 OWInit();
288 291
289 #if 0 292 #if 0
290 while (1) { 293 while (1) {