Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes it possible to safely implement the InputPin and OutputPin traits for AnyPin. Now you can convert any pin to AnyPin with the appropriate type and use it in other library modules Added: - Peripheral implementation for AnyPin - Implementation of Pin for AnyPin - Implementation of OutputPin for AnyPin with type IsOutputPin - Implementation of InputPin for AnyPin with type IsInputPin - Upgrade types for AnyPin (for example InputOutputAnalogPinType -> InputOutputPinType) - Implementation of From<Gpio> for AnyPin with the appropriate type Changed: - The Gpio::degrage method returns AnyPin with the appropriate type
- Loading branch information