Skip to content

Array is a library for the Arduino. It is created to help simplify the handling of raw c++ arrays.

Notifications You must be signed in to change notification settings

jshaw/arduino-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Array

A "fork" of the Arduino Array Library (http://playground.arduino.cc/Code/Array) by Alexander Brevig. Updated this verion to work with the more recent versions of Arduino. I've currently tested the library with Arduino v1.6.5.

Install

Put the Array folder in "hardware\libraries". In the Arduino IDE, create a new sketch (or open one) and select from the menubar "Sketch->Import Library->Array". Once the library is imported, an '#include <Array.h>' line will appear at the top of your Sketch.

Use

Array<datatype> variableName = Array<datatype>( array , size );

Functions

variableName.getMin();

variableName.getMinIndex();

variableName.getMax();

variableName.getMaxIndex();

variableName.getAverage();

About

Array is a library for the Arduino. It is created to help simplify the handling of raw c++ arrays.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages