8000 Updating for device usage · ajitjadhav28/Arduino-IRremote@66d82da · GitHub
[go: up one dir, main page]

Skip to content

Commit 66d82da

Browse files
committed
Updating for device usage
1 parent 117059a commit 66d82da

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ Check [here](http://shirriff.github.io/Arduino-IRremote/) for tutorials and more
1111
3. Extract the zip file
1212
4. Move the "IRremote" folder that has been extracted to your libraries directory.
1313

14+
## Usage
15+
16+
We get a lot of support for different device types. To keep the size of the library manageable we're moving to a model where different device types use a #define statement, for instance:
17+
18+
```#define SHARP```
19+
20+
You'd put this at the top of your sketch to include the sendSharp() and decodeSharp() methods in your code. This way your sketch only uses the Sharp functions but not the LG, JVC, Sony, etc functions, thus saving you program space that you might want to use for other things. This allows us to support lots of devices without making the library too big.
21+
1422
## Contributing
1523
If you want to contribute to this project:
1624
- Report bugs and errors

0 commit comments

Comments
 (0)
0