Utility Library for Arduino Author: Alexander Brevig Contact: alexanderbrevig@gmail.com
1.0 2009-06-17: Initial Release
1.0 2009-06-17: Initial Release
Utility is a library for the Arduino.
See the function list for details.
Download here: Attach:Utility.zip
Put the Utility folder in "hardware\libraries\".
In the Arduino IDE, create a new sketch (or open one) and select from the menubar "Sketch->Import Library-> Utility".
Once the library is imported, an '#include < Utility.h>' line will appear at the top of your sketch.
This function takes an array of pins, the length of the array, target function and the modifier for the function as parameters.
foreach( array, length, function, modifier);
foreach( ledPins, 10, digitalWrite, HIGH );
Determines if a value is equal,belov or above 0
int x = 2;
int signum = sign(x); //1
//contact me
Part of AlphaBeta Libraries. | |
Last Modified: | June 17, 2009, at 05:09 PM |
By: | AlphaBeta |