add class comment

This commit is contained in:
Siwat Sirichai 2024-01-01 01:56:49 +07:00
parent 039e65e6df
commit 4031b7555a
9 changed files with 159 additions and 1 deletions

View file

@ -6,6 +6,15 @@
// Card Type
#define CARD_TYPE_DIGITAL_INPUT 0x01
/**
* @brief ESPMegaPRO Digital Input Card
*
* This class represents the ESPMegaPRO Digital Input Card.
* It allows you to read the state of the digital inputs from the ESPMegaPRO Digital Input Card.
* It also allows you to register callback functions to be called when a pin changes.
* The callback function also support debouncing.
*
*/
class DigitalInputCard : public ExpansionCard {
public:
// Instantiate the card with the specified address