Skip to content

Commit

Permalink
much more reliable scan results
Browse files Browse the repository at this point in the history
Improved the interrupt service routine by stripping it down to the real basics.
No false positives by decodeing errors anymore.
  • Loading branch information
DonKracho authored Sep 21, 2018
1 parent afc2150 commit f98e84b
Show file tree
Hide file tree
Showing 3 changed files with 292 additions and 277 deletions.
30 changes: 19 additions & 11 deletions Funkthermometer/Funkthermometer.ino
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();
}
Loading

0 comments on commit f98e84b

Please sign in to comment.