I need to create 6 38MHz, 50% duty cycle PWM outputs. As a test, I connected pin D2 (output) of 1 photon with an analogWrite(D2, 255, 1) that’s connected to pin D2 (input) of another photon using an interrupt service routine on the second photon and measuring the time between rising and falling edges of the signal. I never received an interrupt on the falling edge of the signal.
So, apparently, I’m confused as to what the frequency setting of the analogWrite is for.