void loop()
{
...
if (pin == HIGH)
pin = LOW;
else
pin = HIGH;
digitalWrite(5, pin);
....
}
Jayee165:
What is the best product to use if I am trying to obtain 36mhz?
I wouldn't be trying to switch that way. Period. Use a hardware timer. Whatever platform you get.