Reworked firmware to ask for one digital/analog pin, instead of all of them. Corresponding update to API