Files

12 lines
261 B
C++
Raw Permalink Normal View History

#pragma once
#include <Arduino.h>
// The simulated RF24 doesn't talk SPI; this only has to accept the pin setup.
class SPIClass {
public:
void begin() {}
void setSCK(uint8_t) {}
void setMOSI(uint8_t) {}
void setMISO(uint8_t) {}
};
extern SPIClass SPI;