Tight for loop and GPIO->Set test