Initial commit - sync AliceRC to Gitea
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// MCU使用STC8H1K08-36I-QFN20
|
||||
/* ******************
|
||||
通道:
|
||||
CH1-P3.7, CH2-P3.6, CH3-P3.5, CH4-P3.4
|
||||
BAT_ADC-P3.3 (ADC11)
|
||||
LEDA-P3.2
|
||||
|
||||
NRF24L01尽可能利用STC8H1K08的一路硬件SPI
|
||||
CE-P1.6, SCK-P1.5, MDO-P1.3, IRQ-P1.7, MDI-P1.3, CSN-P5.4
|
||||
|
||||
串口
|
||||
TX-P3.1, RX-P3.0, SBUS连接到TX经过三极管反相
|
||||
****************** */
|
||||
|
||||
#include "STC8H1K08.h"
|
||||
|
||||
void main()
|
||||
{
|
||||
// 初始化代码
|
||||
while (1)
|
||||
{
|
||||
// 主循环代码
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user