Interrupts and internal rezistors