|
ELEC-C7222
Libraries for ELEC C7222 Course Work
|
C++ board-level helper for the C7222 Pico W board. More...


Go to the source code of this file.
Classes | |
| class | c7222::PicoWBoard |
| Board-level convenience wrapper for the C7222 Pico W board. More... | |
Namespaces | |
| namespace | c7222 |
| C7222 course abstractions namespace. | |
C++ board-level helper for the C7222 Pico W board.
This class provides a small, beginner-friendly API for accessing the board's LEDs and buttons through the higher-level Led and Button types. It hides GPIO pin numbers behind enums and ensures a consistent, simple access pattern across platforms.
Design intent:
LedId, ButtonId) instead of raw GPIO numbers.GetLed()/GetButton().NonCopyableNonMovable to avoid copying the board abstraction.Mapping assumptions (C7222 Pico W board):