Hardware Initialize


DESCRIPTION
Create an object to interface with the basic hardware.

One object is used, to operate the LCD, RGB Led, buttons, rotary, and buzzer. It uses only 2 pins and the SPI bus.

Default pins are A0 and A1. You can always change those pins, by placing wires from jumpers next to A0 A1 pins,to the new pins that you like to use.

In the initialization, it also calls the .begin(20,4) so you don't have to type it. You can use .begin(x,y) on the setup(), in case that you like to have different resolution.

In all of the examples I will use the name 'lcd' to create the new object.


SYNTAX
InvIoT_U1 lcd(A0,A1);


PARAMETERS
  • A0 is the default pin to activate Hardware.
  • A1 is the default pin that reads the state of buttons and rotary.


RETURNS
None.


EXAMPLE


SEE ALSO
  • .begin
  • .print