This Arduino library allows you to get separate inputs from multiple buttons using one analog pin. I don't recommend using this method to read buttons unless you absolutely must. The consistency isn't too great.
Note: Garbage in garbage out. The better your connections the better the result so solder your splices and all that good stuff.
This library is free software; you can redistribute it and/or modify it freely. This library is simply distributed in the hope that it will be useful.
