From 1c57c6a9b00033b9b0a72ef32b3b322c9e10a436 Mon Sep 17 00:00:00 2001 From: "lumbric (antares)" Date: Thu, 20 Feb 2014 21:35:50 +0100 Subject: [PATCH 01/13] adding Panasonic and JVC types for IRrecord --- examples/IRrecord/IRrecord.ino | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/examples/IRrecord/IRrecord.ino b/examples/IRrecord/IRrecord.ino index caf86de..bf290fa 100644 --- a/examples/IRrecord/IRrecord.ino +++ b/examples/IRrecord/IRrecord.ino @@ -80,6 +80,12 @@ void storeCode(decode_results *results) { else if (codeType == SONY) { Serial.print("Received SONY: "); } + else if (codeType == PANASONIC) { + Serial.print("Received PANASONIC: "); + } + else if (codeType == JVC) { + Serial.print("Received JVC: "); + } else if (codeType == RC5) { Serial.print("Received RC5: "); } @@ -114,6 +120,16 @@ void sendCode(int repeat) { Serial.print("Sent Sony "); Serial.println(codeValue, HEX); } + else if (codeType == PANASONIC) { + irsend.sendPanasonic(codeValue, codeLen); + Serial.print("Sent Panasonic"); + Serial.println(codeValue, HEX); + } + else if (codeType == JVC) { + irsend.sendPanasonic(codeValue, codeLen); + Serial.print("Sent JVC"); + Serial.println(codeValue, HEX); + } else if (codeType == RC5 || codeType == RC6) { if (!repeat) { // Flip the toggle bit for a new button press From ed1a2a21539b6f38e8141a1eec8c4f866f5b4ca1 Mon Sep 17 00:00:00 2001 From: Gabriel Staples Date: Sat, 23 Jan 2016 20:18:25 -0500 Subject: [PATCH 02/13] Update IRremote.cpp to improve debugging This is a small change, and definitely an improvement. I simply improved the debugging by stating whether a check passed or failed, for easier identification in debug mode. --- IRremote.cpp | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/IRremote.cpp b/IRremote.cpp index 466a4fb..5885d26 100644 --- a/IRremote.cpp +++ b/IRremote.cpp @@ -46,9 +46,14 @@ int MATCH (int measured, int desired) DBG_PRINT(" <= "); DBG_PRINT(measured, DEC); DBG_PRINT(" <= "); - DBG_PRINTLN(TICKS_HIGH(desired), DEC); + DBG_PRINT(TICKS_HIGH(desired), DEC); - return ((measured >= TICKS_LOW(desired)) && (measured <= TICKS_HIGH(desired))); + bool passed = ((measured >= TICKS_LOW(desired)) && (measured <= TICKS_HIGH(desired))); + if (passed) + DBG_PRINTLN("; passed"); + else + DBG_PRINTLN("; FAILED"); + return passed; } //+======================================================== @@ -65,10 +70,15 @@ int MATCH_MARK (int measured_ticks, int desired_us) DBG_PRINT(" <= "); DBG_PRINT(measured_ticks, DEC); DBG_PRINT(" <= "); - DBG_PRINTLN(TICKS_HIGH(desired_us + MARK_EXCESS), DEC); + DBG_PRINT(TICKS_HIGH(desired_us + MARK_EXCESS), DEC); - return ((measured_ticks >= TICKS_LOW (desired_us + MARK_EXCESS)) - && (measured_ticks <= TICKS_HIGH(desired_us + MARK_EXCESS))); + bool passed = ((measured_ticks >= TICKS_LOW (desired_us + MARK_EXCESS)) + && (measured_ticks <= TICKS_HIGH(desired_us + MARK_EXCESS))); + if (passed) + DBG_PRINTLN("; passed"); + else + DBG_PRINTLN("; FAILED"); + return passed; } //+======================================================== @@ -85,10 +95,15 @@ int MATCH_SPACE (int measured_ticks, int desired_us) DBG_PRINT(" <= "); DBG_PRINT(measured_ticks, DEC); DBG_PRINT(" <= "); - DBG_PRINTLN(TICKS_HIGH(desired_us - MARK_EXCESS), DEC); + DBG_PRINT(TICKS_HIGH(desired_us - MARK_EXCESS), DEC); - return ((measured_ticks >= TICKS_LOW (desired_us - MARK_EXCESS)) - && (measured_ticks <= TICKS_HIGH(desired_us - MARK_EXCESS))); + bool passed = ((measured_ticks >= TICKS_LOW (desired_us - MARK_EXCESS)) + && (measured_ticks <= TICKS_HIGH(desired_us - MARK_EXCESS))); + if (passed) + DBG_PRINTLN("; passed"); + else + DBG_PRINTLN("; FAILED"); + return passed; } //+============================================================================= From 92092df7a0f48152032e539949a867577de7c896 Mon Sep 17 00:00:00 2001 From: Gabriel Staples Date: Sat, 23 Jan 2016 21:06:41 -0500 Subject: [PATCH 03/13] Update IRremote.cpp Further improved debug formatting, & added F macro to reduce RAM usage during prints. --- IRremote.cpp | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/IRremote.cpp b/IRremote.cpp index 5885d26..a5513d6 100644 --- a/IRremote.cpp +++ b/IRremote.cpp @@ -41,18 +41,18 @@ // int MATCH (int measured, int desired) { - DBG_PRINT("Testing: "); + DBG_PRINT(F("Testing: ")); DBG_PRINT(TICKS_LOW(desired), DEC); - DBG_PRINT(" <= "); + DBG_PRINT(F(" <= ")); DBG_PRINT(measured, DEC); - DBG_PRINT(" <= "); + DBG_PRINT(F(" <= ")); DBG_PRINT(TICKS_HIGH(desired), DEC); bool passed = ((measured >= TICKS_LOW(desired)) && (measured <= TICKS_HIGH(desired))); if (passed) - DBG_PRINTLN("; passed"); + DBG_PRINTLN(F("; passed")); else - DBG_PRINTLN("; FAILED"); + DBG_PRINTLN(F("; FAILED")); return passed; } @@ -61,23 +61,24 @@ int MATCH (int measured, int desired) // int MATCH_MARK (int measured_ticks, int desired_us) { - DBG_PRINT("Testing mark "); + DBG_PRINT(F("Testing mark (actual vs desired): ")); DBG_PRINT(measured_ticks * USECPERTICK, DEC); - DBG_PRINT(" vs "); + DBG_PRINT(F("us vs ")); DBG_PRINT(desired_us, DEC); + DBG_PRINT("us"); DBG_PRINT(": "); - DBG_PRINT(TICKS_LOW(desired_us + MARK_EXCESS), DEC); - DBG_PRINT(" <= "); - DBG_PRINT(measured_ticks, DEC); - DBG_PRINT(" <= "); - DBG_PRINT(TICKS_HIGH(desired_us + MARK_EXCESS), DEC); + DBG_PRINT(TICKS_LOW(desired_us + MARK_EXCESS) * USECPERTICK, DEC); + DBG_PRINT(F(" <= ")); + DBG_PRINT(measured_ticks * USECPERTICK, DEC); + DBG_PRINT(F(" <= ")); + DBG_PRINT(TICKS_HIGH(desired_us + MARK_EXCESS) * USECPERTICK, DEC); bool passed = ((measured_ticks >= TICKS_LOW (desired_us + MARK_EXCESS)) && (measured_ticks <= TICKS_HIGH(desired_us + MARK_EXCESS))); if (passed) - DBG_PRINTLN("; passed"); + DBG_PRINTLN(F("; passed")); else - DBG_PRINTLN("; FAILED"); + DBG_PRINTLN(F("; FAILED")); return passed; } @@ -86,23 +87,24 @@ int MATCH_MARK (int measured_ticks, int desired_us) // int MATCH_SPACE (int measured_ticks, int desired_us) { - DBG_PRINT("Testing space "); + DBG_PRINT(F("Testing space (actual vs desired): ")); DBG_PRINT(measured_ticks * USECPERTICK, DEC); - DBG_PRINT(" vs "); + DBG_PRINT(F("us vs ")); DBG_PRINT(desired_us, DEC); + DBG_PRINT("us"); DBG_PRINT(": "); - DBG_PRINT(TICKS_LOW(desired_us - MARK_EXCESS), DEC); - DBG_PRINT(" <= "); - DBG_PRINT(measured_ticks, DEC); - DBG_PRINT(" <= "); - DBG_PRINT(TICKS_HIGH(desired_us - MARK_EXCESS), DEC); + DBG_PRINT(TICKS_LOW(desired_us - MARK_EXCESS) * USECPERTICK, DEC); + DBG_PRINT(F(" <= ")); + DBG_PRINT(measured_ticks * USECPERTICK, DEC); + DBG_PRINT(F(" <= ")); + DBG_PRINT(TICKS_HIGH(desired_us - MARK_EXCESS) * USECPERTICK, DEC); bool passed = ((measured_ticks >= TICKS_LOW (desired_us - MARK_EXCESS)) && (measured_ticks <= TICKS_HIGH(desired_us - MARK_EXCESS))); if (passed) - DBG_PRINTLN("; passed"); + DBG_PRINTLN(F("; passed")); else - DBG_PRINTLN("; FAILED"); + DBG_PRINTLN(F("; FAILED")); return passed; } From e4933e809e38b939363ade03d4f7d61a42fb61bd Mon Sep 17 00:00:00 2001 From: Gabriel Staples Date: Sat, 23 Jan 2016 21:12:34 -0500 Subject: [PATCH 04/13] Update IRremote.cpp very minor changes --- IRremote.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/IRremote.cpp b/IRremote.cpp index a5513d6..c9907eb 100644 --- a/IRremote.cpp +++ b/IRremote.cpp @@ -50,9 +50,9 @@ int MATCH (int measured, int desired) bool passed = ((measured >= TICKS_LOW(desired)) && (measured <= TICKS_HIGH(desired))); if (passed) - DBG_PRINTLN(F("; passed")); + DBG_PRINTLN(F("?; passed")); else - DBG_PRINTLN(F("; FAILED")); + DBG_PRINTLN(F("?; FAILED")); return passed; } @@ -65,7 +65,7 @@ int MATCH_MARK (int measured_ticks, int desired_us) DBG_PRINT(measured_ticks * USECPERTICK, DEC); DBG_PRINT(F("us vs ")); DBG_PRINT(desired_us, DEC); - DBG_PRINT("us"); + DBG_PRINT("us"); DBG_PRINT(": "); DBG_PRINT(TICKS_LOW(desired_us + MARK_EXCESS) * USECPERTICK, DEC); DBG_PRINT(F(" <= ")); @@ -76,9 +76,9 @@ int MATCH_MARK (int measured_ticks, int desired_us) bool passed = ((measured_ticks >= TICKS_LOW (desired_us + MARK_EXCESS)) && (measured_ticks <= TICKS_HIGH(desired_us + MARK_EXCESS))); if (passed) - DBG_PRINTLN(F("; passed")); + DBG_PRINTLN(F("?; passed")); else - DBG_PRINTLN(F("; FAILED")); + DBG_PRINTLN(F("?; FAILED")); return passed; } @@ -91,7 +91,7 @@ int MATCH_SPACE (int measured_ticks, int desired_us) DBG_PRINT(measured_ticks * USECPERTICK, DEC); DBG_PRINT(F("us vs ")); DBG_PRINT(desired_us, DEC); - DBG_PRINT("us"); + DBG_PRINT("us"); DBG_PRINT(": "); DBG_PRINT(TICKS_LOW(desired_us - MARK_EXCESS) * USECPERTICK, DEC); DBG_PRINT(F(" <= ")); @@ -102,9 +102,9 @@ int MATCH_SPACE (int measured_ticks, int desired_us) bool passed = ((measured_ticks >= TICKS_LOW (desired_us - MARK_EXCESS)) && (measured_ticks <= TICKS_HIGH(desired_us - MARK_EXCESS))); if (passed) - DBG_PRINTLN(F("; passed")); + DBG_PRINTLN(F("?; passed")); else - DBG_PRINTLN(F("; FAILED")); + DBG_PRINTLN(F("?; FAILED")); return passed; } From 96c40f63f0ff0a24b618aa8c996d1d96b1e8ac83 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sat, 20 Feb 2016 23:17:07 -0600 Subject: [PATCH 05/13] added sublime workspace to gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a78f1f5..e24b84c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.un~ -*.sublime-project \ No newline at end of file +*.sublime-project +*.sublime-workspace \ No newline at end of file From 376301228aeabf18442edbe6392cec6977b1893d Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sat, 20 Feb 2016 23:17:45 -0600 Subject: [PATCH 06/13] changed irsendraw parameter to const, #227 --- Contributors.md | 1 + IRremote.h | 2 +- README.md | 2 +- changelog.md | 2 ++ irSend.cpp | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Contributors.md b/Contributors.md index e56b29c..2cfa981 100644 --- a/Contributors.md +++ b/Contributors.md @@ -12,6 +12,7 @@ These are the active contributors of this project that you may contact if there - [Neco777](https://github.com/neco777) : Active contributor - [Lauszus](https://github.com/lauszus) : Active contributor - [csBlueChip](https://github.com/csbluechip) : Active contributor, who contributed major and vital changes to the code base. +- [Sebazzz](https://github.com/sebazz): Contributor Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed. diff --git a/IRremote.h b/IRremote.h index 86815b4..96d82ca 100644 --- a/IRremote.h +++ b/IRremote.h @@ -257,7 +257,7 @@ class IRsend void enableIROut (int khz) ; void mark (unsigned int usec) ; void space (unsigned int usec) ; - void sendRaw (unsigned int buf[], unsigned int len, unsigned int hz) ; + void sendRaw (const unsigned int buf[], unsigned int len, unsigned int hz) ; //...................................................................... # if SEND_RC5 diff --git a/README.md b/README.md index fe7fa25..40e5c45 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This library enables you to send and receive using infra-red signals on an Ardui Check [here](http://z3t0.github.io/Arduino-IRremote/) for tutorials and more information. -## Version - 2.01 +## Version - 2.03 ## Installation 1. Navigate to the [Releases](https://github.com/z3t0/Arduino-IRremote/releases) page. diff --git a/changelog.md b/changelog.md index d5f4cff..0ec8afe 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 2.0.3 - 2016/02/20 +- Change IRSend Raw parameter to const [PR](https://github.com/z3t0/Arduino-IRremote/pull/227) ## 2.0.2 - 2015/12/02 - Added IRremoteInfo Sketch - [PR](https://github.com/z3t0/Arduino-IRremote/pull/241) diff --git a/irSend.cpp b/irSend.cpp index 1340e63..253c941 100644 --- a/irSend.cpp +++ b/irSend.cpp @@ -2,7 +2,7 @@ #include "IRremoteInt.h" //+============================================================================= -void IRsend::sendRaw (unsigned int buf[], unsigned int len, unsigned int hz) +void IRsend::sendRaw (const unsigned int buf[], unsigned int len, unsigned int hz) { // Set IR carrier frequency enableIROut(hz); From c471e2816de59558a489a145b3c52d7a0e673b17 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sat, 20 Feb 2016 23:37:11 -0600 Subject: [PATCH 07/13] @2.0.4 #54 (added changelog info) --- Contributors.md | 1 + README.md | 2 +- changelog.md | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Contributors.md b/Contributors.md index 2cfa981..6a0c9e1 100644 --- a/Contributors.md +++ b/Contributors.md @@ -13,6 +13,7 @@ These are the active contributors of this project that you may contact if there - [Lauszus](https://github.com/lauszus) : Active contributor - [csBlueChip](https://github.com/csbluechip) : Active contributor, who contributed major and vital changes to the code base. - [Sebazzz](https://github.com/sebazz): Contributor +- [lumbric](https://github.com/lumbric): Contributor Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed. diff --git a/README.md b/README.md index 40e5c45..21e6b21 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This library enables you to send and receive using infra-red signals on an Ardui Check [here](http://z3t0.github.io/Arduino-IRremote/) for tutorials and more information. -## Version - 2.03 +## Version - 2.04 ## Installation 1. Navigate to the [Releases](https://github.com/z3t0/Arduino-IRremote/releases) page. diff --git a/changelog.md b/changelog.md index 0ec8afe..e0d9fd2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +## 2.0.4 - 2016/02/20 +- Add Panasonic and JVC to IRrecord example [PR](https://github.com/z3t0/Arduino-IRremote/pull/54) + ## 2.0.3 - 2016/02/20 - Change IRSend Raw parameter to const [PR](https://github.com/z3t0/Arduino-IRremote/pull/227) From bd1a2e05a03ab3a29b8c6533bfe19166ce43be18 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sat, 20 Feb 2016 23:46:02 -0600 Subject: [PATCH 08/13] @2.1.0 #258 (updated changelog) --- Contributors.md | 1 + README.md | 2 +- changelog.md | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Contributors.md b/Contributors.md index 6a0c9e1..6988f52 100644 --- a/Contributors.md +++ b/Contributors.md @@ -14,6 +14,7 @@ These are the active contributors of this project that you may contact if there - [csBlueChip](https://github.com/csbluechip) : Active contributor, who contributed major and vital changes to the code base. - [Sebazzz](https://github.com/sebazz): Contributor - [lumbric](https://github.com/lumbric): Contributor +- [ElectricRCAircraftGuy](https://github.com/electricrcaircraftguy): Active Contributor Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed. diff --git a/README.md b/README.md index 21e6b21..d0a1163 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This library enables you to send and receive using infra-red signals on an Ardui Check [here](http://z3t0.github.io/Arduino-IRremote/) for tutorials and more information. -## Version - 2.04 +## Version - 2.1.0 ## Installation 1. Navigate to the [Releases](https://github.com/z3t0/Arduino-IRremote/releases) page. diff --git a/changelog.md b/changelog.md index e0d9fd2..2901dd1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +## 2.1.0 - 2016/02/20 +- Improved Debugging [PR #258](https://github.com/z3t0/Arduino-IRremote/pull/258) +- Display TIME instead of TICKS [PR #258](https://github.com/z3t0/Arduino-IRremote/pull/258) + ## 2.0.4 - 2016/02/20 - Add Panasonic and JVC to IRrecord example [PR](https://github.com/z3t0/Arduino-IRremote/pull/54) From 841e77a642120f47e0b71e8c6e39a9054aa6fd3c Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sat, 20 Feb 2016 23:47:27 -0600 Subject: [PATCH 09/13] changed travis link for dev branch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d0a1163..a17b927 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # IRremote Arduino Library -[![Build Status](https://travis-ci.org/z3t0/Arduino-IRremote.svg?branch=master)](https://travis-ci.org/z3t0/Arduino-IRremote) +[![Build Status](https://travis-ci.org/z3t0/Arduino-IRremote.svg?branch=dev)](https://travis-ci.org/z3t0/Arduino-IRremote) [![Join the chat at https://gitter.im/z3t0/Arduino-IRremote](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/z3t0/Arduino-IRremote?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) From 3bdc6a65a65bdcc02f1b8b5a4a132d9ca8eaa5a5 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sun, 21 Feb 2016 00:03:44 -0600 Subject: [PATCH 10/13] added support boards section in the readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a17b927..94068a9 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,15 @@ Check [here](http://z3t0.github.io/Arduino-IRremote/) for tutorials and more inf 4. Move the "IRremote" folder that has been extracted to your libraries directory. 5. Make sure to delete Arduino_Root/libraries/RobotIRremote. Where Arduino_Root refers to the install directory of Arduino. The library RobotIRremote has similar definitions to IRremote and causes errors. +## Supported Boards +- Arduino Uno / Mega / Leonardo / Duemilanove / Diecimila / LilyPad / Mini / Fio / Nano etc. +- Teensy 1.0 / 1.0++ / 2.0 / 2++ / 3.0 / 3.1 / Teensy-LC; Credits: @PaulStoffregen (Teensy Team) +- Sanguino +- Atmega8 +- ATtiny 84 / 85 + +We are open to suggestions for adding support to new boards, however we highly recommend you contact your supplier first and ask them to provide support from their side. + ## Usage - TODO (Check examples for now) @@ -27,7 +36,6 @@ If you want to contribute to this project: - Create issues and pull requests - Tell other people about this library - Contribute new protocols -- ## Contact The only way to contact me at the moment is by email: zetoslab@gmail.com From 9e2c41230c3b962fc324d294de944e3f0ede81b9 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sun, 21 Feb 2016 00:13:00 -0600 Subject: [PATCH 11/13] added contribution guidelines --- Contributing.md | 11 +++++++++++ README.md | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 Contributing.md diff --git a/Contributing.md b/Contributing.md new file mode 100644 index 0000000..81df234 --- /dev/null +++ b/Contributing.md @@ -0,0 +1,11 @@ +# Contribution Guidlines + +This library is the culmination of the expertise of many members of the open source community who have dedicated their time and hard work. The best way to ask for help or propose a new idea is to [create a new issue](https://github.com/z3t0/Arduino-IRremote/issues/new) while creating a Pull Request with your code changes allows you to share your own innovations with the rest of the community. + +The following are some guidelines to observe when creating issues or PRs: +- Be friendly; it is important that we can all enjoy a safe space as we are all working on the same project and it is okay for people to have different ideas +- [Use code blocks](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code); it helps us help you when we can read your code! On that note also refrain from pasting more than 30 lines of code in a post, instead [create a gist](https://gist.github.com/) if you need to share large snippets +- Use reasonable titles; refrain from using overly long or capitalized titles as they are usually annoying and do little to encourage others to help :smile: +- Be detailed; refrain from mentioning code problems without sharing your source code and always give information regarding your board and version of the library + +If there is any need to contact me then you can find my email on the README, I do not mind responding to emails but it would be in your own interests to create issues if you need help with the library as responses would be from a larger community with greater knowledge! \ No newline at end of file diff --git a/README.md b/README.md index 94068a9..03fb6d2 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ If you want to contribute to this project: - Tell other people about this library - Contribute new protocols +Check [here](Contributing.md) for some guidelines. + ## Contact The only way to contact me at the moment is by email: zetoslab@gmail.com I am not currently monitoring any PRs or Issues due to other issues but will respond to all emails. If anyone wants contributor access, feel free to email me. Or if you find any Issues/PRs to be of importance that my attention is needed please email me. From cb01593db0d0591218e0b77c3fba8658a3ae0b93 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sun, 21 Feb 2016 00:41:34 -0600 Subject: [PATCH 12/13] Contributing.md added hardware specs table --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 03fb6d2..826a040 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,24 @@ Check [here](http://z3t0.github.io/Arduino-IRremote/) for tutorials and more inf We are open to suggestions for adding support to new boards, however we highly recommend you contact your supplier first and ask them to provide support from their side. +### Hardware specifications + +| Board/CPU | Send Pin | Timers | +|------------------------------------------|--------------------|-------------------| +| Arduino Mega / ATmega 1280 / ATmega 2560 | 5, 6 **9**, 11, 46 | 1, **2**, 3, 4, 5 | +| Teensy 1.0 | **17** | **1** | +| Teensy 2.0 | 9, **10**, 14 | 1, 3, **4_HS** | +| Teensy++ 1.0 / 2.0 | **1**, 16, 25 | 1, **2**, 3 | +| Teensy 3.0 / 3.1 | **5** | **CMT** | +| Teensy-LC | **16** | **TPM1** | +| Sanguino | 13, **14** | 1, **2** | +| Atmega8 | **9** | **1** | +| ATtiny84 | **6** | **1** | +| ATtiny85 | **1** | **TINY0** | +| Arduino Duemilanove, UNO etc. | **3**, 9 | 1, **2** | + +The table above lists the currently supported timers and corresponding send pins, many of these can have additional pins opened up and we are open to requests if a need arises for other pins. + ## Usage - TODO (Check examples for now) From 17628525af20119c66fb963fe61b9c2697b7069d Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sun, 21 Feb 2016 00:48:41 -0600 Subject: [PATCH 13/13] added ISSUE_TEMPLATE --- Contributing.md | 2 +- ISSUE_TEMPLATE.md | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 ISSUE_TEMPLATE.md diff --git a/Contributing.md b/Contributing.md index 81df234..56409a9 100644 --- a/Contributing.md +++ b/Contributing.md @@ -6,6 +6,6 @@ The following are some guidelines to observe when creating issues or PRs: - Be friendly; it is important that we can all enjoy a safe space as we are all working on the same project and it is okay for people to have different ideas - [Use code blocks](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code); it helps us help you when we can read your code! On that note also refrain from pasting more than 30 lines of code in a post, instead [create a gist](https://gist.github.com/) if you need to share large snippets - Use reasonable titles; refrain from using overly long or capitalized titles as they are usually annoying and do little to encourage others to help :smile: -- Be detailed; refrain from mentioning code problems without sharing your source code and always give information regarding your board and version of the library +- Be detailed; refrain from mentioning code problems without sharing your source code and always give information regarding your board and version of the library If there is any need to contact me then you can find my email on the README, I do not mind responding to emails but it would be in your own interests to create issues if you need help with the library as responses would be from a larger community with greater knowledge! \ No newline at end of file diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..bb9232e --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,21 @@ +**Board:** ARDUINO UNO +**Library Version:** 2.1.0 +**Protocol:** Sony (if any) + +**Code Block:** +```c + +#include + +..... + +``` + +Use [a gist](gist.github.com) if the code exceeds 30 lines + +**checklist:** +- [] The latest [release](https://github.com/z3t0/Arduino-IRremote/releases/latest) is used +- [] Any code referenced is provided +- [] The title of the issue is helpful and relevant + +The above is a short template allowing you to make detailed issues! \ No newline at end of file