SlideShare a Scribd company logo
1 of 1
#include <16F877A.h>
#fuses XT, NOWDT, BROWNOUT
#use delay(clock=4000000)
#include "lcd420.c"
#define
#define
#define
#define
#define
#define
#define
#define

buzer_on
rele_on
tempo
tempa
tempb
buzer_off
rele_off
aguarda

output_high(pin_c6)
output_high(pin_c7)
delay_ms(500)
delay_ms(100)
delay_ms(300)
output_low(pin_c6)
output_low(pin_c7)
delay_ms(2000)

void main(){
{
lcd_init();
printf(lcd_putc,"f RECONHECENDOn
SENSOR"), delay_ms(1000);
printf(lcd_putc,"fBLOQUEADOR VIA n CELULAR"), delay_ms(500);
rele_off;
buzer_on, tempa, buzer_off, tempa;
buzer_on, tempa, buzer_off, tempa;
printf(lcd_putc,"fAGUARDANDO SINALn "), delay_ms(500);
while (true){
if (input(pin_d7)==1){
delay_ms(200);
printf(lcd_putc,"f BLOQUEANDO n <!>"), delay_ms(500);
buzer_on, tempo, buzer_off, tempo;
buzer_on, tempo, buzer_off, tempo;
buzer_on, tempo, buzer_off, tempo;
aguarda;
printf(lcd_putc,"f
printf(lcd_putc,"f
printf(lcd_putc,"f
printf(lcd_putc,"f
printf(lcd_putc,"f
printf(lcd_putc,"f

BLOQUEANDO
BLOQUEANDO
BLOQUEANDO
BLOQUEANDO
BLOQUEANDO
BLOQUEANDO

n
n
n
n
n
n

<!>"),
<5>"),
<4>"),
<3>"),
<2>"),
<1>"),

delay_ms(500);
delay_ms(500);
delay_ms(500);
delay_ms(500);
delay_ms(500);
delay_ms(500);

buzer_on, tempb, buzer_off, tempb;
rele_on;
printf(lcd_putc,"fCARRO BLOQUEADO n Via CELULAR"),
delay_ms(500);

}}
}}

More Related Content

What's hot

20110424 action scriptを使わないflash勉強会
20110424 action scriptを使わないflash勉強会20110424 action scriptを使わないflash勉強会
20110424 action scriptを使わないflash勉強会
Hiroki Mizuno
 

What's hot (20)

Rabia
RabiaRabia
Rabia
 
Michael kontopoulos
Michael kontopoulosMichael kontopoulos
Michael kontopoulos
 
20110424 action scriptを使わないflash勉強会
20110424 action scriptを使わないflash勉強会20110424 action scriptを使わないflash勉強会
20110424 action scriptを使わないflash勉強会
 
为什么 rust-lang 吸引我?
为什么 rust-lang 吸引我?为什么 rust-lang 吸引我?
为什么 rust-lang 吸引我?
 
Michael kontopoulo1s
Michael kontopoulo1sMichael kontopoulo1s
Michael kontopoulo1s
 
我在豆瓣使用Emacs
我在豆瓣使用Emacs我在豆瓣使用Emacs
我在豆瓣使用Emacs
 
2² C# 4.0 and .NET 4 Selected Features
2² C# 4.0 and .NET 4 Selected Features2² C# 4.0 and .NET 4 Selected Features
2² C# 4.0 and .NET 4 Selected Features
 
Star bed 2018.07.19
Star bed 2018.07.19Star bed 2018.07.19
Star bed 2018.07.19
 
Spock framework
Spock frameworkSpock framework
Spock framework
 
Rich and Snappy Apps (No Scaling Required)
Rich and Snappy Apps (No Scaling Required)Rich and Snappy Apps (No Scaling Required)
Rich and Snappy Apps (No Scaling Required)
 
The Fuzzing Project - 32C3
The Fuzzing Project - 32C3The Fuzzing Project - 32C3
The Fuzzing Project - 32C3
 
Linux kernel debugging
Linux kernel debuggingLinux kernel debugging
Linux kernel debugging
 
Batch processing Demo
Batch processing DemoBatch processing Demo
Batch processing Demo
 
The forgotten art of assembly
The forgotten art of assemblyThe forgotten art of assembly
The forgotten art of assembly
 
Linux tips
Linux tipsLinux tips
Linux tips
 
Osol Pgsql
Osol PgsqlOsol Pgsql
Osol Pgsql
 
Azure Durable Funkiness - .NET Oxford June 2018
Azure Durable Funkiness - .NET Oxford June 2018Azure Durable Funkiness - .NET Oxford June 2018
Azure Durable Funkiness - .NET Oxford June 2018
 
The Power of CSS
The Power of CSSThe Power of CSS
The Power of CSS
 
Programmation pic 16F877
Programmation pic 16F877Programmation pic 16F877
Programmation pic 16F877
 
Certiface e a tecnologia Intel no combate a fraude.
Certiface e a tecnologia Intel no combate a fraude.Certiface e a tecnologia Intel no combate a fraude.
Certiface e a tecnologia Intel no combate a fraude.
 

Viewers also liked (20)

Olivo gestión operativa
Olivo gestión operativaOlivo gestión operativa
Olivo gestión operativa
 
Internet(nuevo)
Internet(nuevo)Internet(nuevo)
Internet(nuevo)
 
Tercer periodo castellano
Tercer periodo castellanoTercer periodo castellano
Tercer periodo castellano
 
Prototipo de tareas ministerio publico
Prototipo de tareas ministerio publicoPrototipo de tareas ministerio publico
Prototipo de tareas ministerio publico
 
Presentacion niños
Presentacion niñosPresentacion niños
Presentacion niños
 
Sejarah pemikiranlai islam
Sejarah pemikiranlai islamSejarah pemikiranlai islam
Sejarah pemikiranlai islam
 
Cyberbullying
CyberbullyingCyberbullying
Cyberbullying
 
Situs web
Situs webSitus web
Situs web
 
Reflexión padre
Reflexión padreReflexión padre
Reflexión padre
 
Pragmatic 1
Pragmatic 1Pragmatic 1
Pragmatic 1
 
Carta Organisasi PDTKK
Carta Organisasi PDTKKCarta Organisasi PDTKK
Carta Organisasi PDTKK
 
Planejamento mais!!!
Planejamento mais!!!Planejamento mais!!!
Planejamento mais!!!
 
PasosGPS
PasosGPSPasosGPS
PasosGPS
 
Como facer unha_inspeccion
Como facer unha_inspeccionComo facer unha_inspeccion
Como facer unha_inspeccion
 
Cara mengetahui pihak mana yang memproduksi film - masTamm 2014
Cara mengetahui  pihak mana yang memproduksi film - masTamm 2014Cara mengetahui  pihak mana yang memproduksi film - masTamm 2014
Cara mengetahui pihak mana yang memproduksi film - masTamm 2014
 
Cronologia De Actividades
Cronologia De ActividadesCronologia De Actividades
Cronologia De Actividades
 
Como buscar amigos en peru educa
Como buscar amigos en peru educaComo buscar amigos en peru educa
Como buscar amigos en peru educa
 
Hawai
HawaiHawai
Hawai
 
uefa
uefauefa
uefa
 
Plaan
PlaanPlaan
Plaan
 

Similar to Programação completa e perfeira

망고100 보드로 놀아보자 15
망고100 보드로 놀아보자 15망고100 보드로 놀아보자 15
망고100 보드로 놀아보자 15
종인 전
 
Home automation system
Home automation system Home automation system
Home automation system
Hira Shaukat
 
How do I draw the Labview code for pneumatic cylinder(air pistion). .pdf
How do I draw the Labview code for pneumatic cylinder(air pistion). .pdfHow do I draw the Labview code for pneumatic cylinder(air pistion). .pdf
How do I draw the Labview code for pneumatic cylinder(air pistion). .pdf
footstatus
 
Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)
Ontico
 

Similar to Programação completa e perfeira (20)

Samrt attendance system using fingerprint
Samrt attendance system using fingerprintSamrt attendance system using fingerprint
Samrt attendance system using fingerprint
 
Codigo
CodigoCodigo
Codigo
 
Atmega lcd programing_with_header_file
Atmega lcd programing_with_header_fileAtmega lcd programing_with_header_file
Atmega lcd programing_with_header_file
 
망고100 보드로 놀아보자 15
망고100 보드로 놀아보자 15망고100 보드로 놀아보자 15
망고100 보드로 놀아보자 15
 
clockDIGITAL.docx
clockDIGITAL.docxclockDIGITAL.docx
clockDIGITAL.docx
 
SICP勉強会について
SICP勉強会についてSICP勉強会について
SICP勉強会について
 
Microcontroladores: programas de CCS Compiler.docx
Microcontroladores: programas de CCS Compiler.docxMicrocontroladores: programas de CCS Compiler.docx
Microcontroladores: programas de CCS Compiler.docx
 
Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8
 
SSL Failing, Sharing, and Scheduling
SSL Failing, Sharing, and SchedulingSSL Failing, Sharing, and Scheduling
SSL Failing, Sharing, and Scheduling
 
Taler De Refuerz1
Taler De Refuerz1Taler De Refuerz1
Taler De Refuerz1
 
Home automation system
Home automation system Home automation system
Home automation system
 
8 bit single cycle processor
8 bit single cycle processor8 bit single cycle processor
8 bit single cycle processor
 
Direct analog
Direct analogDirect analog
Direct analog
 
Program of speed and direction control
Program of speed and direction control Program of speed and direction control
Program of speed and direction control
 
Program of speed and direction control of dc motor
Program of speed and direction control of dc motorProgram of speed and direction control of dc motor
Program of speed and direction control of dc motor
 
RISC-V : Berkeley Boot Loader & Proxy Kernelのソースコード解析
RISC-V : Berkeley Boot Loader & Proxy Kernelのソースコード解析RISC-V : Berkeley Boot Loader & Proxy Kernelのソースコード解析
RISC-V : Berkeley Boot Loader & Proxy Kernelのソースコード解析
 
arduino
arduinoarduino
arduino
 
How do I draw the Labview code for pneumatic cylinder(air pistion). .pdf
How do I draw the Labview code for pneumatic cylinder(air pistion). .pdfHow do I draw the Labview code for pneumatic cylinder(air pistion). .pdf
How do I draw the Labview code for pneumatic cylinder(air pistion). .pdf
 
プログラム実行の話と
OSとメモリの挙動の話
プログラム実行の話と
OSとメモリの挙動の話プログラム実行の話と
OSとメモリの挙動の話
プログラム実行の話と
OSとメモリの挙動の話
 
Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)
 

Recently uploaded

CHEAP Call Girls in Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in  Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in  Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 

Recently uploaded (20)

📞 Contact Number 8617697112 VIP East Sikkim Call Girls
📞 Contact Number 8617697112 VIP East Sikkim Call Girls📞 Contact Number 8617697112 VIP East Sikkim Call Girls
📞 Contact Number 8617697112 VIP East Sikkim Call Girls
 
Navi Mumbai Call Girls -📞9833754194-Call Girls Number Vashi-Nerul Call Girls ...
Navi Mumbai Call Girls -📞9833754194-Call Girls Number Vashi-Nerul Call Girls ...Navi Mumbai Call Girls -📞9833754194-Call Girls Number Vashi-Nerul Call Girls ...
Navi Mumbai Call Girls -📞9833754194-Call Girls Number Vashi-Nerul Call Girls ...
 
Kanpur call girls 📞 8617697112 At Low Cost Cash Payment Booking
Kanpur call girls 📞 8617697112 At Low Cost Cash Payment BookingKanpur call girls 📞 8617697112 At Low Cost Cash Payment Booking
Kanpur call girls 📞 8617697112 At Low Cost Cash Payment Booking
 
Call Girls Panaji Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Panaji Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Panaji Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Panaji Just Call 8617370543 Top Class Call Girl Service Available
 
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Velappanchavadi WhatsApp Booking 7427069034 call girl ser...
 
Mumbai ] Call Girls Service Mumbai ₹7.5k Pick Up & Drop With Cash Payment 983...
Mumbai ] Call Girls Service Mumbai ₹7.5k Pick Up & Drop With Cash Payment 983...Mumbai ] Call Girls Service Mumbai ₹7.5k Pick Up & Drop With Cash Payment 983...
Mumbai ] Call Girls Service Mumbai ₹7.5k Pick Up & Drop With Cash Payment 983...
 
CHEAP Call Girls in Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in  Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in  Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Malviya Nagar, (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Hire 💕 8617697112 North Sikkim Call Girls Service Call Girls Agency
Hire 💕 8617697112 North Sikkim Call Girls Service Call Girls AgencyHire 💕 8617697112 North Sikkim Call Girls Service Call Girls Agency
Hire 💕 8617697112 North Sikkim Call Girls Service Call Girls Agency
 
Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bellandur ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
❤Personal Whatsapp Number Keylong Call Girls 8617697112 💦✅.
❤Personal Whatsapp Number Keylong Call Girls 8617697112 💦✅.❤Personal Whatsapp Number Keylong Call Girls 8617697112 💦✅.
❤Personal Whatsapp Number Keylong Call Girls 8617697112 💦✅.
 
Low Rate Call Girls Dhakuria (8005736733) 100% GENUINE ESCORT SERVICE & HOTEL...
Low Rate Call Girls Dhakuria (8005736733) 100% GENUINE ESCORT SERVICE & HOTEL...Low Rate Call Girls Dhakuria (8005736733) 100% GENUINE ESCORT SERVICE & HOTEL...
Low Rate Call Girls Dhakuria (8005736733) 100% GENUINE ESCORT SERVICE & HOTEL...
 
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment BookingAlmora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
 
VIP Model Call Girls Vijayawada ( Pune ) Call ON 8005736733 Starting From 5K ...
VIP Model Call Girls Vijayawada ( Pune ) Call ON 8005736733 Starting From 5K ...VIP Model Call Girls Vijayawada ( Pune ) Call ON 8005736733 Starting From 5K ...
VIP Model Call Girls Vijayawada ( Pune ) Call ON 8005736733 Starting From 5K ...
 
Call Girls Bhandara Just Call 8617697112 Top Class Call Girl Service Available
Call Girls Bhandara Just Call 8617697112 Top Class Call Girl Service AvailableCall Girls Bhandara Just Call 8617697112 Top Class Call Girl Service Available
Call Girls Bhandara Just Call 8617697112 Top Class Call Girl Service Available
 
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls ServiceCollege Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
 
𓀤Call On 6297143586 𓀤 Park Street Call Girls In All Kolkata 24/7 Provide Call...
𓀤Call On 6297143586 𓀤 Park Street Call Girls In All Kolkata 24/7 Provide Call...𓀤Call On 6297143586 𓀤 Park Street Call Girls In All Kolkata 24/7 Provide Call...
𓀤Call On 6297143586 𓀤 Park Street Call Girls In All Kolkata 24/7 Provide Call...
 
(Verified Models) Airport Kolkata Escorts Service (+916297143586) Escort agen...
(Verified Models) Airport Kolkata Escorts Service (+916297143586) Escort agen...(Verified Models) Airport Kolkata Escorts Service (+916297143586) Escort agen...
(Verified Models) Airport Kolkata Escorts Service (+916297143586) Escort agen...
 
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
 
VIP ( Goa Call Girls ) Margao Beach👉 8617370543 Escort Service Enjoy Your Dre...
VIP ( Goa Call Girls ) Margao Beach👉 8617370543 Escort Service Enjoy Your Dre...VIP ( Goa Call Girls ) Margao Beach👉 8617370543 Escort Service Enjoy Your Dre...
VIP ( Goa Call Girls ) Margao Beach👉 8617370543 Escort Service Enjoy Your Dre...
 
VIP Model Call Girls Koregaon Park ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Koregaon Park ( Pune ) Call ON 8005736733 Starting From ...VIP Model Call Girls Koregaon Park ( Pune ) Call ON 8005736733 Starting From ...
VIP Model Call Girls Koregaon Park ( Pune ) Call ON 8005736733 Starting From ...
 

Programação completa e perfeira

  • 1. #include <16F877A.h> #fuses XT, NOWDT, BROWNOUT #use delay(clock=4000000) #include "lcd420.c" #define #define #define #define #define #define #define #define buzer_on rele_on tempo tempa tempb buzer_off rele_off aguarda output_high(pin_c6) output_high(pin_c7) delay_ms(500) delay_ms(100) delay_ms(300) output_low(pin_c6) output_low(pin_c7) delay_ms(2000) void main(){ { lcd_init(); printf(lcd_putc,"f RECONHECENDOn SENSOR"), delay_ms(1000); printf(lcd_putc,"fBLOQUEADOR VIA n CELULAR"), delay_ms(500); rele_off; buzer_on, tempa, buzer_off, tempa; buzer_on, tempa, buzer_off, tempa; printf(lcd_putc,"fAGUARDANDO SINALn "), delay_ms(500); while (true){ if (input(pin_d7)==1){ delay_ms(200); printf(lcd_putc,"f BLOQUEANDO n <!>"), delay_ms(500); buzer_on, tempo, buzer_off, tempo; buzer_on, tempo, buzer_off, tempo; buzer_on, tempo, buzer_off, tempo; aguarda; printf(lcd_putc,"f printf(lcd_putc,"f printf(lcd_putc,"f printf(lcd_putc,"f printf(lcd_putc,"f printf(lcd_putc,"f BLOQUEANDO BLOQUEANDO BLOQUEANDO BLOQUEANDO BLOQUEANDO BLOQUEANDO n n n n n n <!>"), <5>"), <4>"), <3>"), <2>"), <1>"), delay_ms(500); delay_ms(500); delay_ms(500); delay_ms(500); delay_ms(500); delay_ms(500); buzer_on, tempb, buzer_off, tempb; rele_on; printf(lcd_putc,"fCARRO BLOQUEADO n Via CELULAR"), delay_ms(500); }} }}