changeset 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 d3b7d4964807
files hw.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hw.c	Tue Nov 27 13:20:52 2012 +1030
+++ b/hw.c	Tue Nov 27 15:56:09 2012 +1030
@@ -283,6 +283,9 @@
      * PE5 -> 6
      */
     GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5;
+    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
+    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
+    GPIO_Init(GPIOE, &GPIO_InitStructure);
 
     OWInit();