https://github.com/parmaja/miniiremote
Arduino IR remote control reader/receiver into 32 bit code
https://github.com/parmaja/miniiremote
arduino atmega attiny cpp remote-control
Last synced: 7 months ago
JSON representation
Arduino IR remote control reader/receiver into 32 bit code
- Host: GitHub
- URL: https://github.com/parmaja/miniiremote
- Owner: parmaja
- License: mit
- Created: 2016-07-10T15:47:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-23T23:11:24.000Z (almost 4 years ago)
- Last Synced: 2025-03-31T12:57:27.491Z (about 1 year ago)
- Topics: arduino, atmega, attiny, cpp, remote-control
- Language: C++
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### miniIRemote ###
IR Remote reader/receiver into 32bit
## Tested ##
Attiny85, Atmel328/Arduino IDE 1.6 with common remote controls
## Usage ##
Extract content into "miniIRemote" folder in "library" of arduino
Set digital pin number in your setup()
```c++
void setup() {
miniIR::init(11); //set to pin 11
}
```
## Arduino Example ##
```c++
unsigned long code = miniIR::Read();
if (code > 0) //there is code
{
Serial.print("Code for this button: ");
Serial.println(code);
}
else
Serial.println("No code");
```