Update RX
This commit is contained in:
+5
-5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user