A class for each device, named after it: displays, such as SDLWindow, DRMDisplay, Pimoroni's boards and packs and Waveshare's e-paper HATs, which are NXDisplays, and inputs, such as LinuxInput, which send NXKeyEvents and NXMoveEvents. More...
|
Classes | |
| class | BME680Sensor |
| A Bosch BME680 on an I2C bus, as an event source of the application, which is read every interval, and sends a target an NXSensorEvent for each quantity it measures: @"temp" (@"C"), @"pressure" (@"Pa"), @"humidity" (@"%") and, when its gas heater's reading is valid, @"gas" (@"ohm"). More... | |
| class | DRMDisplay |
| A whole screen on Linux, through a DRM device, such as a Raspberry Pi's display, with nothing else, such as a window system, using it. More... | |
| class | LinuxInput |
| A Linux input device, such as a keyboard or a touchscreen, as an event source of the application, which sends a message to a target for each key and touch. More... | |
| protocol | <NXDevice > |
| A device which NXDeviceManager can make: it's decoded from its description, with NXArchive, and says what to check when it can't be had. More... | |
| protocol | <NXDisplayDevice > |
| A display which NXDeviceManager can make, as "display" in its description. More... | |
| protocol | <NXInputDevice > |
| A device which sends input, such as keys, moves or touches, as NXInputEvents whose source it is, to a target, while it's attached to the application. More... | |
| protocol | <NXSensorDevice > |
| A sensor, which sends its readings as NXSensorEvents, such as a BME680Sensor, which -[NXDeviceManager sensorNamed:] finds by its key. More... | |
| class | NXDeviceManager |
| The devices a program's built for, such as its display, as they're described in JSON, which NXApplicationMain makes with NXApplicationFeatureDevices, as -[NXApplication deviceManager]. More... | |
| class | PimoroniDisplayPack |
| Pimoroni's Pico Display Pack, 1.14" or 2.8", on a Pico: a 135x240 or 240x320 color display. More... | |
| class | PimoroniInkyPack |
| Pimoroni's Pico Inky Pack, on a Pico: a 296x128 black and white e-ink display. More... | |
| class | PimoroniPresto |
| Pimoroni's Presto: a 480x480 color display, as 240x240 doubled, in SRAM, or 480x480, in two framebuffers in PSRAM which swap, so it doesn't tear, and its touchscreen. More... | |
| class | SDLWindow |
| A window on a Mac or Linux with SDL 2: a display, and its keyboard and mouse. More... | |
| class | WaveshareEPaper75HD |
| Waveshare's 7.5inch HD e-Paper HAT, on a Raspberry Pi: an 880x528 black and white e-paper display, with an SSD1677 controller. More... | |
| class | WaveshareEPaper97 |
| Waveshare's 9.7inch e-Paper HAT, on a Raspberry Pi: a 1200x825 e-paper display in sixteen grays, with an IT8951 controller. More... | |
Enumerations | |
| enum | PimoroniDisplayPackSize { PimoroniDisplayPack114 = 0, PimoroniDisplayPack28 } |
| The sizes of Pico Display Pack. More... | |
| enum | PimoroniInkyPackSpeed { PimoroniInkyPackSpeedDefault = 0, PimoroniInkyPackSpeedMedium, PimoroniInkyPackSpeedFast, PimoroniInkyPackSpeedTurbo } |
| How fast an Inky Pack refreshes: faster leaves a little more of what was there. More... | |
| enum | PimoroniPrestoClock { PimoroniPrestoClockKeep = 0, PimoroniPrestoClock150MHz, PimoroniPrestoClock200MHz } |
| The system clock a Presto sets as it starts. More... | |
Functions | |
| void | NXDeviceManagerRegister (const char *name, const char *json) |
| Registers a layer of the description, before main(): picofuse_objc_executable() generates the call, from a constructor, for each. More... | |
A class for each device, named after it: displays, such as SDLWindow, DRMDisplay, Pimoroni's boards and packs and Waveshare's e-paper HATs, which are NXDisplays, and inputs, such as LinuxInput, which send NXKeyEvents and NXMoveEvents.
Each is a file of its own, so a program only links the devices it uses, and their drivers. It includes the Graphics and Application frameworks.
The sizes of Pico Display Pack.
| Enumerator | |
|---|---|
| PimoroniDisplayPack114 | The 1.14", 135x240. |
| PimoroniDisplayPack28 | The 2.8", 240x320. |
Definition at line 13 of file PimoroniDisplayPack.h.
How fast an Inky Pack refreshes: faster leaves a little more of what was there.
Definition at line 13 of file PimoroniInkyPack.h.
| enum PimoroniPrestoClock |
The system clock a Presto sets as it starts.
| Enumerator | |
|---|---|
| PimoroniPrestoClockKeep | As it is. |
| PimoroniPrestoClock150MHz | 150 MHz, the RP2350's rating |
| PimoroniPrestoClock200MHz | 200 MHz, faster than its rating, for more frames a second |
Definition at line 13 of file PimoroniPresto.h.
| void NXDeviceManagerRegister | ( | const char * | name, |
| const char * | json | ||
| ) |
Registers a layer of the description, before main(): picofuse_objc_executable() generates the call, from a constructor, for each.
| name | Where it's from, such as presto.json, for what's logged. |
| json | The layer, which is kept, not copied. |