![]() |
16x2 easyC LCD Library 1.0.0
This is a library for the 16x2 easyC LCD Module
|
#include <Generic-easyC-SOLDERED.h>
Inherits EasyC.
Public Member Functions | |
| Sensor (int _pin) | |
| Sensor specific native constructor. | |
| Public Member Functions inherited from EasyC | |
| EasyC () | |
| Main constructor for easyC version. | |
| void | begin () |
| Initializes sensors on native or easyC on default address. | |
| void | begin (uint8_t _address) |
| Initializes sensors on supplied i2c address. | |
| int | sendAddress (char regAddr) |
| Private function to send a single byte to sensor. | |
| int | readData (char a[], int n) |
| Private function to read n bytes over i2c. | |
| int | readRegister (char regAddr, char a[], size_t n) |
| Private function to send over i2c and then read n bytes. | |
| int | sendData (const uint8_t *a, int n) |
| Private function to write n bytes over i2c. | |
Protected Member Functions | |
| void | initializeNative () |
| Overloaded function for virtual in base class to initialize sensor specific. | |
Private Attributes | |
| int | pin |
Additional Inherited Members | |
| Public Attributes inherited from EasyC | |
| int | native = 0 |
| bool | beginDone = 0 |
| int | err |
| char | address |
| const char | defaultAddress = 0x30 |
| Sensor::Sensor | ( | int | _pin | ) |
Sensor specific native constructor.
| int | _pin Example parameter. |
|
protectedvirtual |
Overloaded function for virtual in base class to initialize sensor specific.
Implements EasyC.
|
private |