Electron reading digital pin state help request (novice)

take a look here: