add comments
bug fix, read port using PINx but not PORTx
change interrupt vector overflow -> compare match