#include <Generic-easyC-SOLDERED.h>
Inherits EasyC.
|
| | Sensor (int _pin) |
| | Sensor specific native constructor.
|
| | 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.
|
|
| void | initializeNative () |
| | Overloaded function for virtual in base class to initialize sensor specific.
|
◆ Sensor()
| Sensor::Sensor |
( |
int | _pin | ) |
|
Sensor specific native constructor.
- Parameters
-
| int | _pin Example parameter. |
◆ initializeNative()
| void Sensor::initializeNative |
( |
| ) |
|
|
protectedvirtual |
Overloaded function for virtual in base class to initialize sensor specific.
Implements EasyC.
◆ pin
The documentation for this class was generated from the following files: