Docs menu

Hardware Examples

Hardware Examples Overview

Editable, board-specific examples that connect generated ForgeUI contracts to developer-owned physical hardware code.

A proven hardware integration pattern

Hardware Examples are ordinary editable ForgeUI projects paired with board-specific wiring, stable generated API contracts, developer-owned example code and physical proof records. They demonstrate integration boundaries; they are not Native Components and ForgeUI does not take ownership of arbitrary hardware drivers.

text
GPIO input
  → developer-owned code
  → generated Runtime SDK
  → ForgeUI UI

ForgeUI UI control
  → genuine generated UserEvent
  → developer-owned code
  → GPIO output

Five physically proven examples

ExampleDevice / allocationStatus
01 — GPIO Digital I/OGPIO2/4 buttons; GPIO3/5 LEDsPHYSICALLY PROVEN
02 — I²C FRAM PersistenceMB85RC256V at 0x50 on shared GPIO7/8PHYSICALLY PROVEN
03 — SPI NFC/RFIDPN532 on GPIO28–31; GPIO2 resetPHYSICALLY PROVEN
04 — Online Services — Live WeatherStock C6 Wi-Fi + certificate-verified Open-Meteo HTTPSPHYSICALLY PROVEN
05 — GPS / GNSSu-blox NEO-8 on UART1 GPIO3/GPIO4PHYSICALLY PROVEN

Exclusive generated selection

Selecting a Hardware Example replaces the active example project. Only that example's UI is generated, implementation is linked and runtime is initialized. Mixed example contracts are rejected; unselected examples remain preserved but inactive.