[−]Struct circuit_playground_express::Pins
Maps the pins to their arduino names and the numbers printed on the board.
Fields
port: Port
Opaque port reference
rx: Pb9<Input<Floating>>
Pin 0, rx. Also analog input (A6)
tx: Pb8<Input<Floating>>
Pin 1, tx. Also analog input (A7)
d4: Pa28<Input<Floating>>
Pin 4, button A.
d5: Pa14<Input<Floating>>
Pin 5, button B.
d7: Pa15<Input<Floating>>
Pin 7, slide switch.
d11: Pa30<Input<Floating>>
Pin 11, speaker enable.
d13: Pa17<Input<Floating>>
Digital pin number 13, which is also attached to the red LED. PWM capable.
sda: Pb2<Input<Floating>>
The I2C SDA. Also D2 and A5.
scl: Pb3<Input<Floating>>
The I2C SCL. Also D3 and A4
neopixel: Pb23<Input<Floating>>
The data line attached to the neopixel. Also D8.
speaker: Pa2<Input<Floating>>
The line attached to the speaker. Also D12 and A0.
sck: Pa5<Input<Floating>>
The SPI SCK. Also D6 and A1
mosi: Pa7<Input<Floating>>
The SPI MOSI. Also D10 and A3
miso: Pa6<Input<Floating>>
The SPI MISO. Also D9 and A2
flash_sck: Pa21<Input<Floating>>
The SCK pin attached to the on-board SPI flash
flash_mosi: Pa20<Input<Floating>>
The MOSI pin attached to the on-board SPI flash
flash_miso: Pa16<Input<Floating>>
The MISO pin attached to the on-board SPI flash
flash_cs: Pb22<Input<Floating>>
The CS pin attached to the on-board SPI flash
Methods
impl Pins
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,