# Generic Card

# Preview:


Preview

If you can't find the type of card you are looking for, then generic card is what you should use in your project. It's a type of card which can be used in any scenario.


# Type:

GENERIC_CARD


# Valid Data Types:

  • int
  • bool
  • float
  • String

# Initializer:

/* 
  Generic Card
  Valid Arguments: (ESPDash dashboard, Card Type, const char* name, const char* symbol (optional) )
*/
Card card1(&dashboard, GENERIC_CARD, "Generic1");

# Updaters:

card1.update(int value);
card1.update(bool value);
card1.update(float value);
card1.update(String value);