Whilst I was looking at the ATmega168 datasheet to see if I could improve the NewSoftSerial library speed I came across the analog comparator –this takes a reference voltage at digital input 7 and a voltage to be compared at digital input 6. Any time the voltages are equal (rising or falling –you [...]






