board.h
来自「深度睡眠模式操作技术笔记」· C头文件 代码 · 共 23 行
H
23 行
#ifndef board_H
#define board_H
/* 板卡接口定义 */
#define I2C GPIO_PORTB_BASE
#define SCL GPIO_PIN_2
#define SDA GPIO_PIN_3
#define BUZZ GPIO_PIN_5
#define KEY1 GPIO_PIN_4
#define KEY2 GPIO_PIN_5
#define KEY3 GPIO_PIN_5
#define KEY4 GPIO_PIN_4
#define LED1 GPIO_PIN_7
#define LED2 GPIO_PIN_5
#define LED3 GPIO_PIN_6
#define LED4 GPIO_PIN_4
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?