-- | On the Arduino, pins are grouped into banks of 8.
-- Given a pin, this function determines which port it belongs to
pinPort :: IPin -> Port
pinPort p = Port (pinNo p `quot` 8)
pinPort :: IPin -> Port
pinPort p = Port (pinNo p `quot` 8)
pinPort p = Port (pinNo p `quot` 8)