This commit is contained in:
Riku Isokoski
2021-07-18 12:32:46 +03:00
parent 329482f873
commit 3e42297bd8
4 changed files with 27 additions and 25 deletions

View File

@@ -144,6 +144,9 @@ void SystemTask::Work() {
heartRateSensor.Disable();
heartRateApp.Start();
touchHandler.Register(this);
touchHandler.Start();
nrf_gpio_cfg_sense_input(pinButton, (nrf_gpio_pin_pull_t) GPIO_PIN_CNF_PULL_Pulldown, (nrf_gpio_pin_sense_t) GPIO_PIN_CNF_SENSE_High);
nrf_gpio_cfg_output(15);
nrf_gpio_pin_set(15);