ESPMegaPRO-v3-SDK/Template Project/lib/ESPMegaPRO/ExpansionCard.hpp

13 lines
352 B
C++

#pragma once
#include <Arduino.h>
class ExpansionCard {
public:
// Instantiate the card with the specified address
ExpansionCard() {}
virtual bool begin() {}
// Preform a loop to refresh the input buffers
virtual void loop() {}
// Get the card type
virtual uint8_t getType() {return 255;}
};