user49267: hi i have done this code for my uno R3 and i cant upload it 
any suggestions 
#include"DHT.h"
#define DHTPIN 8
#define DHTTYPE DHT11
DHT dht( DHTPIN,DHTTYPE);
const int ledPin=13
int piesoPin=9
void setup(){
  serial.begin(9600);
  pinMode(ledPin,OUTPUT);
  pinMode(piezoPin,OUTPUT);
  delay(5000);
}
void loop(){
  int t=dht.readTemperature();
  int h=dht.readHumidity();
  Serial.print(t);
  if(t>26){
    digitalWrite(ledPin,HIGH);
    digitalWrite(piezopin,HIGH);
    {TONE(9,3047,400);
    delay(1000);
    noTone(8);
    delay(100);
    }
    delay(1000);
    Serial.print("ON T=");
  }
  else(digitalWrite(piezoPin,LOW);
  digitalWrite(LEDpIN,LOW);
  Serial.print("OFF,T=");
  }}


user31105: Two errors I see is a typo and missing semicolons.
const int ledPin=13
int piesoPin=9

Should be
const int ledPin=13;
int piezoPin=9;

Also I see a unnecessary { and } but this cannot cause a compilation error.
Check the delays, when the temperature is higher than 26 degrees you have more delay than when not, maybe this is intended, maybe not.
However, you probably typed over the code, so maybe there are more errors, please add the exact error text and line in your question.

49267: <p>hi i have done this code for my uno R3 and i cant upload it 
any suggestions </p>

<pre><code>#include"DHT.h"
#define DHTPIN 8
#define DHTTYPE DHT11
DHT dht( DHTPIN,DHTTYPE);
const int ledPin=13
int piesoPin=9
void setup(){
  serial.begin(9600);
  pinMode(ledPin,OUTPUT);
  pinMode(piezoPin,OUTPUT);
  delay(5000);
}
void loop(){
  int t=dht.readTemperature();
  int h=dht.readHumidity();
  Serial.print(t);
  if(t&gt;26){
    digitalWrite(ledPin,HIGH);
    digitalWrite(piezopin,HIGH);
    {TONE(9,3047,400);
    delay(1000);
    noTone(8);
    delay(100);
    }
    delay(1000);
    Serial.print("ON T=");
  }
  else(digitalWrite(piezoPin,LOW);
  digitalWrite(LEDpIN,LOW);
  Serial.print("OFF,T=");
  }}
</code></pre>
 31105: <p>Two errors I see is a typo and missing semicolons.</p>

<pre><code>const int ledPin=13
int piesoPin=9
</code></pre>

<p>Should be</p>

<pre><code>const int ledPin=13;
int piezoPin=9;
</code></pre>

<p>Also I see a unnecessary { and } but this cannot cause a compilation error.</p>

<p>Check the delays, when the temperature is higher than 26 degrees you have more delay than when not, maybe this is intended, maybe not.</p>

<p>However, you probably typed over the code, so maybe there are more errors, please add the exact error text and line in your question.</p>
