Actually return pin number on mode error
Default mode needs to be set on board
Use channels instead of sleeping for init; Analog pins properly setup
Clean up exported functions