# HG changeset patch # User Daniel O'Connor # Date 1353993969 -37800 # Node ID 188d5a8a747000495755ae1ada9b55b9e242e035 # Parent 03592ca4d37e32b7641dd73c7ff77cea14d86e31 Readd code accidentally removed from last version, now the hot & cold stuff actually works. diff -r 03592ca4d37e -r 188d5a8a7470 hw.c --- 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();