Skip to content

dmadison/AnalogSelector-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnalogSelector Library for Arduino

This library provides an easy and robust way to read a potentiometer or other analog input as a multi-selector switch.

Getting Started

AnalogSelector selector(Pin, NumPositions);

void setup() {
	selector.begin();
}

void loop() {
	int option = selector.getPosition();
}

License

This library is licensed under the terms of the MIT license. See the LICENSE file for more information.