I will be maintaining my libraries here: https://bit.ly/pATDBi I am the lead developer for libraries that ship with the Wiring distribution. As per version 1.0 - Wiring will support Arduino boards. You are welcome to check it out! https://wiring.org.co/download/
HashMap Library for Arduino Author: Alexander Brevig Contact: alexanderbrevig@gmail.com
1.0 Beta 2009-07-13: Initial Release
1.0 Beta 2009-07-13: Initial Release
HashMap is a library for the Arduino.
It is created to help simplify associating one value with another.
Download here: Attach:HashMap.zip
Put the HashMap folder in "hardware\libraries\".
In the Arduino IDE, create a new sketch (or open one) and select from the menubar "Sketch->Import Library->HashMap".
Once the library is imported, an '#include <HashMap.h>' line will appear at the top of your Sketch.
const byte HASH_SIZE = 5;
HashType<char*,int> hashRawArray[HASH_SIZE];
HashMap<char*,int> hashMap = HashMap<char*,int>( hashRawArray , HASH_SIZE );
Will return the index of the hash
Will return the value associated to hash
//contact me
Part of AlphaBeta Libraries. | |
Last Modified: | September 14, 2018, at 02:24 AM |
By: |