I am trying to modify the ble_app_hrs so that i can write a value to the board and save it as a new heart rate value. So far i have added a BLE_GATTS_EVT_WRITE case to the event manager, as well as adding the specific handle i want the write value from.
How can i write the value given in the write event into the heart rate variable?