add kt0915 lib
This commit is contained in:
parent
0f649630e6
commit
9343f8bff3
@ -19,6 +19,10 @@ void __send_freq() {
|
|||||||
// TODO: 发送频率
|
// TODO: 发送频率
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void __send_volumn() {
|
||||||
|
// TODO: 发送音量
|
||||||
|
}
|
||||||
|
|
||||||
void __switch_to_fm() {
|
void __switch_to_fm() {
|
||||||
// TODO: 切换到FM模式
|
// TODO: 切换到FM模式
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
#define G_FM_FREQ_MAX 1080*2
|
#define G_FM_FREQ_MAX 1080*2
|
||||||
#define G_AM_FREQ_MIN 100
|
#define G_AM_FREQ_MIN 100
|
||||||
#define G_AM_FREQ_MAX 33000
|
#define G_AM_FREQ_MAX 33000
|
||||||
|
#define G_VOLUMN_MIN 0
|
||||||
|
#define G_VOLUMN_MAX 31
|
||||||
|
|
||||||
#define G_FL_SIGNAL 0b0000000000000001
|
#define G_FL_SIGNAL 0b0000000000000001
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "KT0915.h"
|
#include "kt0915.h"
|
||||||
|
|
||||||
#define enablePort GPIOB
|
#define enablePort GPIOB
|
||||||
|
|
12
Makefile
12
Makefile
@ -73,13 +73,13 @@ Core/App/app.c \
|
|||||||
Core/App/global.c \
|
Core/App/global.c \
|
||||||
Core/Hardware/RotaryCoder/RotaryCoder.c \
|
Core/Hardware/RotaryCoder/RotaryCoder.c \
|
||||||
Core/Hardware/ST7735/st7735.c \
|
Core/Hardware/ST7735/st7735.c \
|
||||||
|
Core/Hardware/KT0915/kt0915.c \
|
||||||
|
Core/Hardware/SWI2C/i2c_sw.c \
|
||||||
Core/App/Graphic/monoimg.c \
|
Core/App/Graphic/monoimg.c \
|
||||||
Core/App/Graphic/ui.c \
|
Core/App/Graphic/ui.c \
|
||||||
Core/App/Graphic/bmfont.c \
|
Core/App/Graphic/bmfont.c \
|
||||||
Core/App/Graphic/asciifont.c \
|
Core/App/Graphic/asciifont.c \
|
||||||
Core/App/Input/keypad.c \
|
Core/App/Input/keypad.c
|
||||||
#Core/Hardware/kt0915/KT0915.C \
|
|
||||||
#Core/Hardware/SWI2C/i2c_sw.c \
|
|
||||||
|
|
||||||
|
|
||||||
# ASM sources
|
# ASM sources
|
||||||
@ -146,10 +146,10 @@ C_INCLUDES = \
|
|||||||
-ICore/App \
|
-ICore/App \
|
||||||
-ICore/Hardware/RotaryCoder \
|
-ICore/Hardware/RotaryCoder \
|
||||||
-ICore/Hardware/ST7735 \
|
-ICore/Hardware/ST7735 \
|
||||||
|
-ICore/Hardware/KT0915 \
|
||||||
|
-ICore/Hardware/SWI2C \
|
||||||
-ICore/App/Graphic \
|
-ICore/App/Graphic \
|
||||||
-ICore/App/Input \
|
-ICore/App/Input
|
||||||
#-ICore/Hardware/kt0915 \
|
|
||||||
#-ICore/Hardware/SWI2C \
|
|
||||||
|
|
||||||
|
|
||||||
# compile gcc flags
|
# compile gcc flags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user