Archive for 30 Jun 2010

Events management (Part 2)

Part 1, 2, 3 In the previous attemps to capture a change in the state of an input line, we faced a timing problem. Interrupts will help us in this way. First we “attach” an interrupt to one one the two dedicated lines from Arduino (repectively PIND2 and PIND3 nammed after interrupt line 0 and 1): […]