Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi guys ...can any one please help me in this code ... i want to generate sine pwm of 50 hz and using a crystal of 12 MHZ....please help
#include <18f452.h>
#device HIGH_INTS=true
#fuses HS, NOWDT, PUT, NOLVP
#use delay(clock=12000000)
const long sine[32] =...
can any one please tell me what is wrong with this code ....i want to generate 50 HZ of sine pwm using the ccp module ...
#if defined(__PCB__)
#include <16C56.h>
#fuses HS,NOWDT,NOPROTECT
#use delay(clock=12000000)
#elif defined(__PCM__)
#include <16F877.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP...
look at this code this may help...
program Eccp_sine_pwm_403
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' sinusoidal PWM can be found in many power conversion application
'such as UPS or HV AC motor controler.
'This is very simple development example wich can...
whats wrong with this code ..can any one help...
#include <p18cxxx.h>
#include <delays.h>
#pragma config OSC = HS /* Sets the oscillator mode to HS */
#pragma config WDT = OFF /* Turns the watchdog timer off */
#pragma config LVP = OFF /* Turns low voltage programming off */
#pragma config...
whats wrong with this code ..can any one help...
#include <p18cxxx.h>
#include <delays.h>
#pragma config OSC = HS /* Sets the oscillator mode to HS */
#pragma config WDT = OFF /* Turns the watchdog timer off */
#pragma config LVP = OFF /* Turns low voltage programming off */
#pragma config...
whats wrong with this code ..can any one help...
#include <p18cxxx.h>
#include <delays.h>
#pragma config OSC = HS /* Sets the oscillator mode to HS */
#pragma config WDT = OFF /* Turns the watchdog timer off */
#pragma config LVP = OFF /* Turns low voltage programming off */
#pragma config...
whats wrong with this code ..can any one help...
#include <p18cxxx.h>
#include <delays.h>
#pragma config OSC = HS /* Sets the oscillator mode to HS */
#pragma config WDT = OFF /* Turns the watchdog timer off */
#pragma config LVP = OFF /* Turns low voltage programming off */
#pragma...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.