Im starting working with the dspic30f4011 and I need a program which takes in entrance a value read by the potentiometre and that puts in exit a square wave ensconced with a variable cyclical report according to the value read on the potentiometre.
So the potentiometre will simulate the opening and the closing of the IGBT. the frequency is 4khz.
Im starting working with the dspic30f4011 and I need a program which takes in entrance a value read by the potentiometre and that puts in exit a square wave ensconced with a variable cyclical report according to the value read on the potentiometre.
So the potentiometre will simulate the opening and the closing of the IGBT. the frequency is 4khz.
the language Im using is C and the logiciel is MPlab.
do you have a programme that read the value from the potentiometre and produce a square wave depending on the value read on the potentiometre that would be great thanks