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.
I am using atmega64a controller for my product,my product is used for controlling the 3 phase motor using mobile phone.Product will be installed in a very noisy environment.
In some of the products installed in the field i am facing problem with the micro controller.
I am using PIC16F1829 and XC8 compiler.
I am using external crystal of 4MHZ.
I am just trying to blink an LED for every 2 seconds.
I have used __delay_ms(2000); function to generate 2 seconds of delay.Also before the main i have included _XTAL_FREQ 4000000