Class GPIO
#include <gpio.hpp>
Public Functions
| Type | Name |
|---|---|
| GPIO (int pi, int pin, Direction direction) |
|
| void | write_high () |
| void | write_low () |
| void | write_pwm (float frequency, float duty_cycle) |
| void | write_servo (int pulse_width) |
Public Functions Documentation
function GPIO
GPIO::GPIO (
int pi,
int pin,
Direction direction
)
function write_high
void GPIO::write_high ()
function write_low
void GPIO::write_low ()
function write_pwm
void GPIO::write_pwm (
float frequency,
float duty_cycle
)
function write_servo
void GPIO::write_servo (
int pulse_width
)
The documentation for this class was generated from the following file controls/sae_2025_ws/src/payload/include/payload/gpio.hpp