Handle pin as number (do not call replace)

With the servo examples, call `pin.replace` was throwing an error.