Documentation Arduino base program code
DpLEDError Arduino library provide function for signalling errors to predefine digital line using duality of state.
Source code is provided as is, without any warranty.
Distributed under CC BY v 3.0
// on initialization define number of error LEDs in use // nopins - number of pins max 8 DpLEDError(byte nopins); // Set digital pins by value depends on statepins // statepins - byte value void setAll(byte statepins); // Set Error led for pin // pin - pin position in predefine pins array void setError(byte pin); // Set OK led for pin // pin - pin position in predefine pins array void setOK(byte pin);
Author: Dubravko Penezic
Email: dpenezic@gmail.com