Source Code CVAVR for QS7x Series

#include <mega8535.h>

// Declare your global variables here
unsigned int uidata=0;

#include <delay.h>

#define display_port PORTC

/* Sub-program menampilkan nilai per digit pada QS7x Series */
Lanjutkan membaca Source Code CVAVR for QS7x Series

Iklan

Source Code CVAVR for RTC DS1307

#include <mega8535.h>
#include <stdio.h>

// I2C Bus functions
#asm
.equ __i2c_port=0x12 ;PORTD
.equ __sda_bit=5
.equ __scl_bit=4
#endasm
#include <i2c.h>

// DS1307 Real Time Clock functions
#include <ds1307.h>
Lanjutkan membaca Source Code CVAVR for RTC DS1307

Source Code CVAVR for DI-Smart KEY4X4 Input (KEYPAD 4X4)

#include <mega8535.h>

#include <delay.h>

// Alphanumeric LCD Module functions
#asm
.equ __lcd_port=0x18 ;PORTB
#endasm
#include <lcd.h>

#define pinkey PINC
#define portkey PORTC

// Declare your global variables here
char datakey, buffer;

//program pembacaaan key apa yang ditekan oleh user
//keypad yang digunakan mengunakan metode scanning
Lanjutkan membaca Source Code CVAVR for DI-Smart KEY4X4 Input (KEYPAD 4X4)