ArduinoBasicIO
1.0
Make basic operations with Arduino easier
|
Object oriented library containing classes intended to make Arduino pins and components handling easier. These classes may be useful when used as base classes to extend. It may also be useful for learning/teaching an object oriented approach to Arduino. TODO Documented here.
Classes for real objects
Led class.
Potentiometer class.
Detects pulses dinamically. This are not full pulses it just detects the exact desired number of pulses at pulse level with a period between DEFAULT_MIN_DELAY and DEFAULT_MAX_DELAY. TODO improve
Pulse train based switch.
Defind in ArduinoIOPins.h
Base class for Arduino pins. It contains all basic pin functions such for pin setting, input reading and output writing.
Analog pin extension. By now, just average reading extension included.
Digital input pin abstraction. Includes methods for input reading and change detection. Input state is whatched.
Digital output pin abstraction. This pin class whatches for output state when tracking is needed.
Defined in BaseInputs.h
Base class for making on/off switched input.
An easier way of handling digital inputs. Choose the value to consider this input on at input init.
An easier way of handling digital inputs considered ON when input is LOW . Use this instead of SwitchedInput if you want it lighter.
An easier way of handling digital inputs considered ON when input is HIGH. Use this instead of SwitchedInput if you want it lighter.
Defined in BaseOutputs.h
Base class for making on/off actuators such as relays,leds,and so on.
An easier way of handling on/off actuators. Choose the type of on/off actuator you're using by indicating the digital value that will turn it on.
LowOnActuator class
An easier way of handling on/off actuators which are turned on by writing a LOW level. Use this instead of DigitalActuator if you want it lighter.
HighOnActuator class
An easier way of handling on/off actuators which are turned on by writing a HIGH level. Use this instead of DigitalActuator if you want it lighter.