Photon, PID and PWM

Hi guys,

Started experimenting with a photon and blynk, so much fun but Ive hit my roof and need some help.

How can i get PWM working on a pin and with a slider to change the frequency.

How can i assign add PID to the same pin and have an adjustable set point.

It is for a homebrew set up. Using a photon, DS18b20 and a SSR relay.

So far got temperature read out and turning relay on and off, want more intelligence in the system :slight_smile:

Please check the example sketches. All of them can be used for Photon too.