-
Notifications
You must be signed in to change notification settings - Fork 11
Using this Library w o Arduino
Phil Schatzmann edited this page Apr 6, 2024
·
4 revisions
You can use this library w/o Arduino e.g. by building with cmake.
In this case you need to provide the implementation for the following "C" methods:
- error_t i2c_bus_write_bytes(i2c_bus_handle_t bus, int addr, uint8_t *reg, int regLen, uint8_t *data, int datalen);
- error_t i2c_bus_read_bytes(i2c_bus_handle_t bus, int addr, uint8_t *reg, int reglen, uint8_t *outdata, int datalen);
- void pinMode(int, int);
- void digitalWrite(int, int);
- void delay(uint32_t);