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-27 19:18:21 +00:00
|
|
|
virtual bool begin() {}
|
2023-12-27 18:25:35 +00:00
|
|
|
// Preform a loop to refresh the input buffers
|
|
|
|
virtual void loop() {}
|
2023-12-28 04:41:20 +00:00
|
|
|
// Get the card type
|
|
|
|
virtual uint8_t getType() {}
|
2023-12-27 18:25:35 +00:00
|
|
|
};
|