Test script to toggle the state of output pins for hardware debugging.