Not sure.. if this is what you want?
Code:
const int ledPin = 13;
const int fastPin = 14;
const int fasterPin = 15; //added
const int ns = 78;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(fastPin, OUTPUT);
pinMode(fasterPin, OUTPUT);
noInterrupts();
}
void loop() {
for (;;) {
digitalWriteFast(ledPin, HIGH);
delayMicroseconds(500 * 1000);
digitalWriteFast(ledPin, LOW);
digitalWriteFast(fastPin, HIGH); // Fast pulse test
delayNanoseconds(ns);
digitalWriteFast(fastPin, LOW);
//Added:
digitalWriteFast(fasterPin, HIGH);
//delayNanoseconds(5); //for fastest operation remove delay
digitalWriteFast(fasterPin, LOW);
delayMicroseconds(500 * 1000);
}
}