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
SDA
A4
bi
i2c
#define
SCL
A5
out
i2c
#define
BTN_PIN
D2
in
interrupt
#define
ONE_WIRE_BUS
D4
unknown
digital
#define
RELAY_PIN
D7
out
digital
#define
ECHO_PIN
D8
unknown
digital
#define
STATUS_LED
D9
out
pwm
#define
TRIG_PIN
D12
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.