ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
|
#include <arpirobot/devices/gpio/StatusLED.hpp>
Public Member Functions | |
StatusLED (unsigned int pin) | |
StatusLED (const StatusLED &other)=delete | |
StatusLED & | operator= (const StatusLED &other)=delete |
![]() | |
virtual std::string | getDeviceName () |
bool | isLockedByAction (std::shared_ptr< Action > action=nullptr) |
Check if a given action locks the device. More... | |
bool | isLockedByAction (Action &action) |
Check if a given action locks the device. More... | |
Additional Inherited Members | |
![]() | |
bool | initialized = false |
std::string | deviceName |
Controls an LED connected to a GPIO pin to add a visual indicator of robot status. While a robot program is running, the LED indicates the robot's state. While the robot is disabled, the LED is solid. While the robot is enabled, the LED blinks.