代码搜索结果
找到约 529 项符合
NRF24L01 的代码
io.c
#include "NRF24L01.h"
#define UART_BPS 9600 //波特率
void DelayNS (uint32 dly)
{
uint32 i;
for ( ; dly>0; dly--)
for (i=0; i
spi.c
/**
* These functions are used to write and read from the SPI.
* The code was written specifically for the nRF24L01 module.
* The module has a peculiar implementation of the SPI interface,
* i
radioclient.h
/**
* Header for client nRF24L01 code.
*
* @author Stephen Craig, 25/07/2006
*/
#ifndef _RADIO_CLIENT_H_
#define _RADIO_CLIENT_H_
#include "spi.h" /* support for SPI *
radioserver.h
/**
* Header for server nRF24L01 code.
*
* @author Stephen Craig, 25/07/2006
*/
#ifndef _RADIO_SERVER_H_
#define _RADIO_SERVER_H_
#include "spi.h" /* support for SPI *
txd24hh.h
#ifndef nrf24l01
#define nrf24l01
#define uchar unsigned char
#define uint unsigned int
#define ulong unsigned long
// Define nRF24L01 interrupt flag's
#define IDLE 0x00 // Id
api.h
// BYTE type definition
#ifndef _BYTE_DEF_
#define _BYTE_DEF_
typedef unsigned char BYTE;
#endif /* _BYTE_DEF_ */
// Define interface to nRF24L01
/*#ifndef _SPI_PIN_DEF_
#define _SPI_PIN_DE
89lv51.c
/***************************************************/
/*
* @compiler This program has been tested with Keil C51 V7.50.
*
* NOTES:
* This program is for the nRF24L01 with 232 interface;
* T