From aab096a5d973627fb2c3affa1b45e8bcb104c4c5 Mon Sep 17 00:00:00 2001 From: unixweb Date: Mon, 18 May 2020 11:45:53 +0200 Subject: [PATCH] Edit Decoder --- decoder-ttn.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/decoder-ttn.txt b/decoder-ttn.txt index e1842af..d73153e 100644 --- a/decoder-ttn.txt +++ b/decoder-ttn.txt @@ -1,6 +1,6 @@ /********************************************************************* * The TTN Payload function equal for all environment applications -********************************************************************** +**********************************************************************/ function Decoder(bytes, port) { var retValue = { bytes: bytes @@ -14,4 +14,5 @@ function Decoder(bytes, port) { retValue.humidity = ((bytes[8] << 8) | bytes[9]) / 10.0; return retValue; } -*********************************************************************/ + +