Expand description
Device abstractions for peripherals for Pico 1 and 2 (with and without WiFi).
§Glossary
Resources available on the Pico 1 and Pico 2:
- PIO (Programmable I/O): Pico 1 has 2. Pico 2 has 3.
- DMA (Direct Memory Access): Both Pico 1 and 2 have 12 channels.
- PWM (Pulse Width Modulation) Slices: Both Pico 1 and 2 have 8 slices (& 16 channels). These “slices” are unrelated Rust slices.
Modules§
- button
Non- host - A device abstraction for buttons with debouncing and press duration detection.
- char_
lcd Non- host - A device abstraction for HD44780-compatible character LCDs (e.g., 16x2, 20x2, 20x4).
- clock_
sync wifiand non-host - A device abstraction that combines time sync with a local clock.
See
ClockSyncfor the full usage example. - flash_
array Non- host - A device abstraction for type-safe persistent storage in flash memory.
- ir
Non- host - A device abstraction for infrared receivers using the NEC protocol.
- led
Non- host - A device abstraction for a single digital LED with animation support.
- led4
Non- host - A device abstraction for a 4-digit, 7-segment LED display for text with optional animation and blinking.
- led2d
- A device abstraction for rectangular NeoPixel-style (WS2812) LED panel displays.
For 1-dimensional LED strips, see the
led_stripmodule. - led_
strip - A device abstraction for 1-dimensional NeoPixel-style (WS2812) LED strips. For 2-dimensional
panels, see the
led2dmodule. - rfid
Non- host - A device abstraction for RFID readers using the MFRC522 chip.
- servo
Non- host - A device abstraction for hobby servos.
- servo_
player Non- host - A device abstraction for hobby servos that can animate motion sequences.
- wifi_
auto wifiand non-host - A device abstraction that connects a Pico with WiFi to the Internet and, when needed, creates a temporary WiFi network to enter credentials.
Enums§
- Error
- Define a unified error type for this crate.
Type Aliases§
- Result
- A specialized
Resultwhere the error is this crate’sErrortype.