Variable frequency drive

Discussion in 'Embedded Systems and Microcontrollers' started by bilal sheikh, Feb 19, 2015.

  1. bilal sheikh

    Thread Starter New Member

    Jan 21, 2015
    hello everyone, i m doing final year project on VFD, i want to generate variable frequency output out of a H-bridge inverter. for coding purpose, i am using pic18f4431. i have developed a program that is generating 50 Hz output. now i dont know how to modify my code in order to generate variable frequency output.
    can anyone help ? i will be grateful.
  2. shteii01

    AAC Fanatic!

    Feb 19, 2010
    Replace 50 Hz with an equation.
    Have multiple if statements. User inputs a value, program checks that value against the if statements, one of the if statements will be true, that if statement is executed.
    bilal sheikh likes this.