初始化提交
This commit is contained in:
33
arduino-cli/libraries/RF24/utility/Teensy/RF24_arch_config.h
Normal file
33
arduino-cli/libraries/RF24/utility/Teensy/RF24_arch_config.h
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
|
||||
#if ARDUINO < 100
|
||||
|
||||
#include <WProgram.h>
|
||||
|
||||
#else
|
||||
#include <Arduino.h>
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <SPI.h>
|
||||
|
||||
#define _SPI SPI
|
||||
|
||||
#define printf Serial.printf
|
||||
|
||||
#ifdef SERIAL_DEBUG
|
||||
#define IF_SERIAL_DEBUG(x) ({x;})
|
||||
#else
|
||||
#define IF_SERIAL_DEBUG(x)
|
||||
#endif
|
||||
|
||||
#define PRIPSTR "%s"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user