37 #ifndef DIGITAL_OUTPUT_HPP 38 #define DIGITAL_OUTPUT_HPP 66 : board( dig_out ), relaynumber( relay_nr ), invert(_invert)
74 : board( 0 ), relaynumber( 0 ), invert(initial_state)
91 board->setBit( relaynumber, on_off != invert );
102 board->setBit( relaynumber, !invert );
113 board->setBit( relaynumber, invert );
126 return invert != board->checkBit( relaynumber );
DigitalOutput(DigitalOutInterface *dig_out, unsigned int relay_nr, bool _invert=false)
DigitalOutInterface * board
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
DigitalOutput(bool initial_state=false)