Posted on May 17, 2011 at 15:06Quote:On 01-12-2009 at 15:58, Anonymous wrote: if I understand you need to toggle the GPIOD pin 1 so you can use directly GPIO_WriteReverse(GPIOD, GPIO_PIN_0); instead of: BitStatus bitstatus = GPIO_ReadInputPin(GPIOD,...
Posted on May 17, 2011 at 15:06Code:BitStatus bitstatus = GPIO_ReadInputPin(GPIOD, GPIO_PIN_0);This will return RESET or SET, which are HIGH and LOW values. Code:GPIO_DeInit(GPIOD); GPIO_Init(GPIOD, GPIO_PIN_0, GPIO_MODE_OUT_PP_LOW_FAST); GPIO_Write...