User Activity

Posted on January 06, 2017 at 14:57void main(){ GPIOB-> DDR |= (1<<2); //output GPIOB-> CR1 |= (1<<2); //push-pull type output // GPIOB-> DDR &= ~(1<<7); //input // GPIOB-> CR1 |= (1<<7); //pull-up without interrupt GPIOC-> DDR &= ~(1<<2)|(1<<3)...