made only one gpio toggle