static void nus_data_handler(ble_nus_evt_t * p_evt)
`{`
if (p_evt->type == BLE_NUS_EVT_RX_DATA)
{
int time_now_s,temp;
time_now_s=atoi((char*)p_evt->params.rx_data.p_data);
while(time_now_s>0)
{
time_now_s--;
char time_string[] = {'0','0', '\0'};
time_string[0] = time_now_s % 60 / 10 + '0';
time_string[1] = time_now_s % 60 % 10 + '0';
DrawStringAt(0, 4, time_string, &Font64, 0);
nrf_delay_ms(600);
}
Sleep();
}
}