This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "rui.h" | |
#include "board.h" | |
static RUI_RETURN_STATUS rui_return_status; | |
#define SWITCH_1 3 | |
RUI_GPIO_ST Switch_One; // ext interupt switch #1 | |
const uint8_t level[2]={0,1}; | |
#define low &level[0] | |
#define high &level[1] |