Real Time Clock with ATmega16
2016-08-23
0 0 0
no vote
Other
Earn points
#include
// Alphanumeric LCD Module functions
#asm
.equ __lcd_port=0x1b ;PORTA #endasm
#include
char s=0,m=0,h=0;
char t,u;
// Timer 2 output compare interrupt service routine
interrupt [TIM2_COMP] void timer2_comp_isr(void)
{
// Place your code here
s=s+1;
if (s==60)
// Alphanumeric LCD Module functions
#asm
.equ __lcd_port=0x1b ;PORTA #endasm
#include
char s=0,m=0,h=0;
char t,u;
// Timer 2 output compare interrupt service routine
interrupt [TIM2_COMP] void timer2_comp_isr(void)
{
// Place your code here
s=s+1;
if (s==60)
c
atmega
实时
时钟
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment