Add button tests
This is implemented by connecting the DTR pin of the serial device to the BTN_UP pin of the watch. Also, make it possible to flash different applications with the Makefile. Resolves #4
This commit is contained in:
@@ -83,7 +83,7 @@ namespace BSP {
|
||||
moder_value = 2;
|
||||
break;
|
||||
}
|
||||
SET_STRIDE_TO(m_gpio->MODER, 2, index, moder_value);
|
||||
SET_STRIDE_TO(m_gpio->MODER, 2, index, moder_value);
|
||||
}
|
||||
|
||||
void GpioDriver::set_pin_pupdr(uint32_t index, input_pull_t pull_mode) {
|
||||
|
||||
Reference in New Issue
Block a user