Using the Arduino Library, a pin (here digital pin 13) can be pulsed at maximum rate with: void setup() { pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); digitalWrite(13, LOW); } On a Nano, the pulse width is 3.2µs with a period of 6.7µs. On the Nano Every, the pulse width is …