Update RX

This commit is contained in:
2026-06-27 14:44:10 +08:00
parent fc0fd36861
commit b71a35dcd3
8 changed files with 823 additions and 467 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
# ifndef CONFIG
# define CONFIG
# include "CONFIG.h"
# endif
/**
* NRF24L01+ 驱动头文件 (STC8H1K08 移植版, SDCC 兼容)
* SPI 引脚: SCK=P1.5, CE=P1.6, IRQ=P1.7, CSN=P5.4, MISO=P1.3, MOSI=P1.4
* 使用 STC8H 硬件 SPI (SPI 默认引脚)
*/
#ifndef __NRF24_H__
#define __NRF24_H__
#include "STC8_SDCC.H"
/* SDCC mcs51 模式下缺少的标准类型 */
typedef unsigned char uint8_t;
typedef unsigned int uint16_t;