From 1f1610c6f4136eb0abd378d4dbacc0686e55addf Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 19 Oct 2023 21:25:36 +0200 Subject: [PATCH] added comments --- web/js-ts/serialv2.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/js-ts/serialv2.js b/web/js-ts/serialv2.js index 2579b77..dd9c288 100644 --- a/web/js-ts/serialv2.js +++ b/web/js-ts/serialv2.js @@ -36,7 +36,7 @@ async function readLoop() { for (let iByte = 0; iByte < value.length; iByte++) { let singleByte = value[iByte]; - + //functie maken er van met boolean!!! if (singleByte != 10) { buffer.push(singleByte); } @@ -103,4 +103,6 @@ function plotly(graph, dataArray){ mode: 'lines', line: {color: '#80CAF6'} }]); -} \ No newline at end of file +} + +//eigen library maken voor serial \ No newline at end of file