|
arduino-emulator
|
Sets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI). More...
#include <HardwareSetupRPI.h>
Public Member Functions | |
| HardwareSetupRPI ()=default | |
| Constructor. Initializes hardware interfaces. | |
| ~HardwareSetupRPI () | |
| Destructor. Cleans up hardware interfaces. | |
| bool | begin (bool asDefault=true) |
| Initializes hardware pointers to Raspberry Pi interfaces. | |
| void | end () |
| Resets hardware pointers to nullptr. | |
| HardwareGPIO_RPI * | getGPIO () |
| HardwareI2C_RPI * | getI2C () |
| HardwareSPI_RPI * | getSPI () |
Protected Attributes | |
| HardwareGPIO_RPI | gpio |
| HardwareI2C_RPI | i2c |
| bool | is_default_objects_active = false |
| HardwareSPI_RPI | spi |
Sets up hardware interfaces for Raspberry Pi (GPIO, I2C, SPI).
|
inlinevirtual |
Implements arduino::GPIOSource.
|
inlinevirtual |
Implements arduino::I2CSource.
|
inlinevirtual |
Implements arduino::SPISource.