-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved the interrupt service routine by stripping it down to the real basics. No false positives by decodeing errors anymore.
- Loading branch information
Showing
3 changed files
with
292 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
#include "WTDecoder.h" | ||
|
||
void setup() | ||
{ | ||
Serial.begin(115200); | ||
wtd.Setup(); | ||
} | ||
|
||
void loop() | ||
{ | ||
wtd.Loop(); | ||
/***************************************************************************************************** | ||
* Author: Wolfgang Kracht | ||
* Initial release: 09/09/2018 | ||
* Dependencies: ESP8266 core for Arduino (refer to: https://github.com/esp8266/Arduino) | ||
*****************************************************************************************************/ | ||
|
||
#include "WTDecoder.h" | ||
|
||
void setup() | ||
{ | ||
Serial.begin(115200); | ||
delay(500); | ||
Serial.println("Starting scanning for GT-WT-02 codes"); | ||
wtd.Setup(); | ||
} | ||
|
||
void loop() | ||
{ | ||
wtd.Loop(); | ||
} |
Oops, something went wrong.