[][src]Struct rmicrobit::gpio::DisplayPins

pub struct DisplayPins {
    pub pin4: PIN4<Input<Floating>>,
    pub pin5: PIN5<Input<Floating>>,
    pub pin6: PIN6<Input<Floating>>,
    pub pin7: PIN7<Input<Floating>>,
    pub pin8: PIN8<Input<Floating>>,
    pub pin9: PIN9<Input<Floating>>,
    pub pin10: PIN10<Input<Floating>>,
    pub pin11: PIN11<Input<Floating>>,
    pub pin12: PIN12<Input<Floating>>,
    pub pin13: PIN13<Input<Floating>>,
    pub pin14: PIN14<Input<Floating>>,
    pub pin15: PIN15<Input<Floating>>,
}

The GPIO pins connected to the micro:bit's LED display.

See also pin_constants for dealing with these pin numbers.

The pins for columns 1,2,3,7,8,9 are also presented on the edge connector.

Fields

pin4: PIN4<Input<Floating>>

The GPIO pin connected to LED matrix column 1

Also connected to edge connector strip 3

pin5: PIN5<Input<Floating>>

The GPIO pin connected to LED matrix column 2

Also connected to edge connector strip 4

pin6: PIN6<Input<Floating>>

The GPIO pin connected to LED matrix column 3

Also connected to edge connector strip 10

pin7: PIN7<Input<Floating>>

The GPIO pin connected to LED matrix column 4

pin8: PIN8<Input<Floating>>

The GPIO pin connected to LED matrix column 5

pin9: PIN9<Input<Floating>>

The GPIO pin connected to LED matrix column 6

pin10: PIN10<Input<Floating>>

The GPIO pin connected to LED matrix column 7

Also connected to edge connector strip 9

pin11: PIN11<Input<Floating>>

The GPIO pin connected to LED matrix column 8

Also connected to edge connector strip 7

pin12: PIN12<Input<Floating>>

The GPIO pin connected to LED matrix column 9

Also connected to edge connector strip 6

pin13: PIN13<Input<Floating>>

The GPIO pin connected to LED matrix row 1

pin14: PIN14<Input<Floating>>

The GPIO pin connected to LED matrix row 2

pin15: PIN15<Input<Floating>>

The GPIO pin connected to LED matrix row 3

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self