tttapa / MIDI_controller

This is a library for creating a MIDI controller using an Arduino or Teensy board.
GNU General Public License v3.0
402 stars 70 forks source link

Invert potentiometers #58

Closed MRmP closed 6 years ago

MRmP commented 6 years ago

A feature request: An option to invert potentiometers, so value 0-1023 maps to 127-0

tttapa commented 6 years ago

Just swap Vcc and Ground of the potentiometer.

Alternatively, use the map function: https://github.com/tttapa/MIDI_controller/wiki/Library-documentation#8-set-analog-map-functions-and-invert-buttons-optional