Total Newb here. Have been searching all over the forum with no luck at finding a clear simple way to do this. I am using MicroCode Studio to write code in BASIC, MELABS to program through a PICKIT3 onto a pic12F683. I want to setup a Timer module that will run in the background and output a square wave at 325hz with a duty cycle and frequency that can be defined in the program. I want to output the waveform to a pin and be able to turn ON and OFF the waveform from a mainloop without affecting the speed of the mainloop significantly. The mainloop can contain something simple like a pulsin comand to control the output pins' current state (on or off). Default clock is being used for the PIC.