Issue #154 Renamed pin enum to be platform independent.