Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as TeX by yigitbakir1 ( 8 years ago )
#include <IRremote>int RECV_PIN = 2; //foto transistör bağlantısı
IRrecv irrecv(RECV_PIN);
decode_results kod;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // alma için hazırlandı
}
void loop()
{
if (irrecv.decode(&kod))
{
Serial.println(kod.value, DEC); // Kodun Desimal Değere çevirerek göster
irrecv.resume();} // Yeni kod alımına hazır
}
Revise this Paste