darkomen / arduino Goto Github PK
View Code? Open in Web Editor NEWProjects i do in arduino
Projects i do in arduino
It was a relief to finally find an NEC IR receive library that actually compiles and runs - thank you!
The IR transmitter repeatedly sends 0xF0F0F0F0, and he program below prints 0xF0F0F0F - the last "0" is missing.
A scope trace shows the last zero bit of the last byte to be followed by a bit-Mark and a long space on the order of 15ms, and then repeats. I can provide a screen shot of the trace. Hopefully this is an easy fix, or do I need to change something???
Please advise
-George
// look for IR codes and print them as they are received
#include <NECIRrcv.h>
#define IRPIN 3 // pin that IR detector is connected to
NECIRrcv ir(IRPIN) ;
void setup()
{
Serial.begin(19200) ;
Serial.println("NEC IR code reception") ;
ir.begin() ;
}
void loop()
{
unsigned long ircode ;
while (ir.available()) {
ircode = ir.read() ;
Serial.print("got code: 0x") ;
Serial.println(ircode,HEX) ;
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.