1 2 3 4 5 6 7 8
use embedded_hal::digital::OutputPin; pub struct Led<PIN> where PIN: OutputPin, { pub pin: PIN, }