基本要求已经完成,准第一版
This commit is contained in:
parent
ec2ed2d196
commit
3b6408a650
11 changed files with 1286 additions and 1256 deletions
|
|
@ -8,6 +8,10 @@
|
|||
|
||||
|
||||
|
||||
#define PM_DEBUG
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* 模拟定时器使用的定时器
|
||||
|
|
@ -37,8 +41,8 @@
|
|||
#define AMS_KEY_PINX PTD5
|
||||
#define WIFI_KEY_PINX PTD7
|
||||
#define MR_KEY_PINX PTE23
|
||||
#define MB_KEY_PINX PTA16
|
||||
#define MUVB_KEY_PINX PTD4
|
||||
#define MB_KEY_PINX PTD4
|
||||
#define MUVB_KEY_PINX PTA16
|
||||
// knob用必须是PTA或PTD端口的
|
||||
#define KNOB_A_PINX PTD7
|
||||
#define KNOB_B_PINX PTD6
|
||||
|
|
@ -64,8 +68,8 @@
|
|||
*
|
||||
*/
|
||||
#define LGRED_PINX PTC17
|
||||
#define LGBLUE_PINX PTC16
|
||||
#define LGUVB_PINX PTC13
|
||||
#define LGBLUE_PINX PTC13
|
||||
#define LGUVB_PINX PTC16
|
||||
#define WATER_PINX PTD1
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ typedef struct plan_input_
|
|||
uint8_t lg_uvb : 1;
|
||||
uint8_t water : 1;
|
||||
uint8_t sw : 1;
|
||||
uint8_t cnt;
|
||||
} plan_input;
|
||||
|
||||
typedef struct kv_pair_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue