24 #ifndef GRBLGPIO_HPP__
25 #define GRBLGPIO_HPP__
29 #include "device/Gpio.hpp"
39 typedef std::shared_ptr<GrblGpio> Shared;
41 GrblGpio(
const std::string &
uid,
const std::shared_ptr<GrblPlatform> &grbl);
46 virtual std::future<units::io_port_t>
getIoState()
const override;
49 std::weak_ptr<GrblPlatform> m_grbl;
DeviceId uid() const
Get the address of device.
virtual std::future< units::io_port_t > getIoState() const override
Get current state of this GPIO.
virtual std::future< void > setIoState(const units::io_port_t &state) const override
Set state of this IO.
main motion-lib namespace