Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop Other

_1602_ds1307_dht11_sr04

  • Category : Other
  • Tags :
  • Update : 2013-02-04
  • Size : 2kb
  • Downloaded :0次
  • Author :dicklaw
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
#include <LiquidCrystal.h> LiquidCrystal lcd(2,3,4,5,6,7) /* 1602 vss to gnd vdd to 5v RS TO PIN2 RW TO GND E TO PIN3 D4 TO PIN4 D5 TO PIN5 D6 TO PIN6 D7 TO PIN7 A TO 5V K TO GND */ #include "Wire.h" #define DS1307_ADDRESS 0x68 byte zero = 0x00 //workaround for issue#527 /* DS1307 SDA TO PIN A4 SCL TO PIN A5 VCC TO 5V GND TO GND */ #include <dht11.h> dht11 DHT11 #define DHT11PIN 8 //DHT11 PIN 3 连接UNO 3 #define TRIGPIN 9 #define ECHOPIN 10 long ping() { digitalWrite(TRIGPIN, LOW) delayMicroseconds(2) digitalWrite(TRIGPIN, HIGH) delayMicroseconds(10) digitalWrite(TRIGPIN, LOW) return pulseIn(ECHOPIN, HIGH)/58 } void setup() { Wire.begin() Serial.begin(9600) //setDateTime() //MUST CONFIGURE IN FUNCTION lcd.begin(16, 2) //lcd.setCursor(0,1) //lcd.write("LIGHT: ") pinMode(TRIGPIN, OUTPUT) pinMode(ECHOPIN, INPUT) pinMode(13, OUTPUT) } void loop() { //int sensorValue
Packet file list
(Preview for download)


_1602_ds1307_dht11_sr04
.......................\_1602_ds1307_dht11_sr04.ino
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.