arduino: replaced pinMode() calls with DDRA bit manipulation and NOP instructions for more control over the delay