arduino_lib_dplederror

Documentation Arduino base program code

DpLEDError library

Description

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

Functions

// 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);

Contact

Author: Dubravko Penezic

Email: dpenezic@gmail.com

Version

Actual

History

V 1.0.0 , 10.01.2012

arduino_lib_dplederror.txt · Last modified: by 127.0.0.1