magvitron
Active Member
magvitron submitted a new article:
avr based frequency meter with full code and design file - its a frequency meter. designed using atmega 8 (avr studio and avr gcc)
proteus file :
hex for lcd interfacing of the below code. ( the frequency is shown in an LCD)
View attachment 69871
[/quote]
Read more about this article...
avr based frequency meter with full code and design file - its a frequency meter. designed using atmega 8 (avr studio and avr gcc)
proteus file :
hex for lcd interfacing of the below code. ( the frequency is shown in an LCD)
View attachment 69871
Code:
#define F_CPU 8000000UL
#include <avr/interrupt.h>
#define USART_BAUDRATE 9600
#define BAUD_PRESCALE (((F_CPU / (USART_BAUDRATE * 16UL))) - 1)
#include <stdlib.h>
#include<avr/io.h>
#include<util/delay.h>
short val,val1,i;
unsigned int presc;
char a[10];
char...
Read more about this article...