User Activity

 float init_sensor(void){ uint32_t numTicks; float distance; RCC->AHB1ENR |= (1U<<1); GPIOB->MODER &=~ (1U<<19); // pin 9 as output GPIOB->MODER |= (1U<<18); // pin 9 as output GPIOB->MODER &=~ (1U<<16); // pin 8 as input GPIOB->M...