Files
Last update 7 years 8 months
by
ivanfeofanov
Filesrobotprocesses | |
---|---|
.. | |
bumper.h | |
button.h | |
drive_motors.h | |
led_indicator.h | |
mower.h | |
perimeter_sensor.h | |
terminal.h |
led_indicator.h#ifndef LED_INDICATOR_H #define LED_INDICATOR_H template< typename LedPin, typename Time > class LedIndiactor { public: void init() { LedPin::setOutput(); LedPin::setLow(); } void run(const uint8_t* status) { if(*status){ // LedPin::setHigh(); }else{ // LedPin::setLow(); } } private: }; #endif