General analog exercises
555 timer
Implement a 555 timer using the two comparators with external 5 kOhm resistors. The discharge function should be realized with a port pin programmed as analog input (no discharging) or digital low output (discharging).