#fuses XT,NOWDT,NOPROTECT,NOLVP
#use delay(clock= 4000000)
#use standard_io(a)
#include <lcd.c>
#include <kbd.c>
#include <stdlib.h>
#rom 0x2100={'7','2','3'}
void main() {
char k;
int x;
char data[3], clave[3];
lcd_init();
kbd_init();
port_b_pullups(TRUE);
while (TRUE) {
i=0;
printf(lcd_putc,"\fpulsar tecla 1\n");
while(1<=2){
k=kbd_getc();
if(k!=0)
{data[i]=k;
i++;
printf(lcd_putc,"\fpulsat tecla %u\n",i+1);
}
}
for(1=0;i<=2;i++){
clave[i]=read_eeprom(i);}
if((data[0]==clave[0])&&(data[1]==clave[1])&&(data[2]==clave[2]))
{ printf(lcd_putc,"\fPuerta Abierta");
output_high(PIN_A0);
delay_ms(500);
output_low(PIN_A0);}
else printf(lcd_putc,"\fPuerta Cerrada");
delay_ms(500);
}
}
Playtech secures full integration with Betsoft - drmcd
ResponderBorrarPlaytech 양주 출장마사지 has entered into a 남양주 출장샵 distribution agreement with 안동 출장안마 Betsoft, the leading online gambling 대구광역 출장안마 software company. Betsoft has been a part of 광명 출장샵