Question
GPIO QUESTION2
Posted on January 21, 2013 at 09:27
Hi guyz,
Thank you for your continous support, heres my problem now while (1) { USART_SendData(USART1, 65); if (GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_6)==1) { //GPIOB->IDR >> 8; USART_SendData(USART1, GPIOB->IDR>>0 & 0x00FF); } } } I am trying to get data from port 0-7 only, from the serial out I am expecting it to be ''B'' the one appearing from the portb is ''R'' be ''C'' the one appearing from the portb is ''S'' be ''A'' the one appearing from the portb is ''Q'' my mode is internal pulldown.. but il check Ill manually ground unused pins