You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
342 B
14 lines
342 B
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
|
|
#define KEY_REC 36
|
|
#define KEY_MODE 39
|
|
#define GPIO_KEY_INPUT_PIN_SEL ((1ULL << KEY_REC) | (1ULL << KEY_MODE))
|
|
|
|
typedef void (*key_ble_cb_t)(char *string, uint8_t string_length);
|
|
|
|
void key_init();
|
|
void key_schedule();
|
|
void key_ble_send_cmd_reg(key_ble_cb_t cb);
|