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

13 lines
335 B
C++
Raw Normal View History

2023-12-27 18:25:35 +00:00
#pragma once
2023-12-27 18:33:37 +00:00
#include <Arduino.h>
2023-12-27 18:25:35 +00:00
class ExpansionCard {
public:
// Instantiate the card with the specified address
ExpansionCard() {}
2023-12-28 08:52:08 +00:00
virtual bool begin();
2023-12-27 18:25:35 +00:00
// Preform a loop to refresh the input buffers
2023-12-28 08:52:08 +00:00
virtual void loop();
2023-12-28 04:41:20 +00:00
// Get the card type
2023-12-28 08:52:08 +00:00
virtual uint8_t getType();
2023-12-27 18:25:35 +00:00
};