in sim/dalboard.ts [60:69]
function pinId(name: string) {
let key = getConfigKey("PIN_" + name)
if (key != null)
return getConfig(key)
// this is for P03 format used by NRF - these are direct names of CPU pins
let m = /^P(\d+)$/.exec(name)
if (m)
return parseInt(m[1])
return null
}