Comments (7)
Thank you for the bug report. For me, and for others the library way working the original way, so it's an interesting issue to investigate. As I understood right now it saves the constant 20 instead of (now - start) / USECPERTICK + 1
when irparams.rcvstate == STATE_IDLE
. Can you please send a pull request, so I can review and test your code?
from irremoteesp8266.
I kept the adding of constant 20 also.
I don't know how to make a pull request at the moment, I'm all new to github and never used git before, please leave me a little time to learn :)
I will provide you some examples also if you want.
from irremoteesp8266.
Just chasing up this. If you don't know how to a pull request, can you send us a 'diff' from the current source code to your version that encompases your changes?
from irremoteesp8266.
I'm following this as well. Wouldn't the first mark be in your case a constant 1 ? As start and now would be the same? Is that what makes the difference?
from irremoteesp8266.
sorry my mistake. start is 0 first time but now will be the current micros. if we'll use the calc also for when state is idle then we'll get different result for the first item in rawbuf each time we reset to idle state. that's the reason for the constant for first item. Now sure why constant 20 was chosen.
from irremoteesp8266.
Can this issue be closed now?
from irremoteesp8266.
Marking this issue closed. If you disagree, please re-open.
from irremoteesp8266.
Related Issues (20)
- Compile Error in ESP32 IDF when including IRemoteESP8266 as a component HOT 2
- DECODE_HASH should get its own protocol type HOT 9
- IRremoteESP8266 library compile error bk7231t HOT 2
- USB CDC must be enabled on ESP32S3 in order to receive infrared signals correctly. HOT 1
- Fails to detect Hitachi AC Remote. Sending raw data also does not work HOT 9
- Need help for Panasonic Remote Control N2QAYB000354
- The IT Receiver sensor (SM0038) is receiving signals and reporting values even when not pressing any button in the remote.
- Carrier AC 84bit HOT 2
- Does this library support for OnePlus TV , realme TV and Mi TV remote. HOT 1
- Problem with Zanussi A/C HOT 7
- IRHaierAC160 light toggle only working every 2nd time
- Unable to include C libraries HOT 3
- How to get or find CarrierAc 32 bit protocol? HOT 1
- Common AC Control - Swing turn on HOT 1
- Toshiba AC Remote Control B Support HOT 1
- Feature Request: De'Longhi Pinguino PAC N82 ECO IR Protocol HOT 5
- DAIKIN IRHVAC Off Issue. HOT 1
- The implementation and declaration of some functions differs from the function call HOT 4
- Coolix protocol "fan only mode" sends "dry mode" command instead HOT 1
- Support for Carrier RG56CMI-WRAC1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irremoteesp8266.