Examples
Button counter
Every press adds one, shown on a four-digit seven-segment display.
Arduino Uno R31 libraries29 linesOverall confidence 100%
SourceRead onlyuno_button_counter.ino
What the parser saw
Extracted from #include · #define · pinMode · constructor arguments. The output of a deterministic parser, not an AI.
Pin contract
An immutable contract owned by the project. It survives level changes; on a target board only the physical pins are remapped.
| Logical name | Pin | Direction | Signal | Declared as |
|---|---|---|---|---|
| BTN_PIN | D2 | in | digital | #define |
| DISP_CLK | D4 | unknown | digital | #define |
| DISP_DIO | D5 | unknown | digital | #define |
This page passes no verification gate. Logic (simulator), electrical (ERC · DRC) and physical (your confirmation) verification each run separately inside a project.
Next step
Same sketch, from simulation to PCB
The code stays as it is. Run it on avr8js in the Playground; import it into a project and the 8-pass electrical verification, KiCad board generation and Gerber export follow.