Commit 2cd3fe98 authored by plaasio's avatar plaasio 👷🏽

Update pnv.js

parent 33810fd8
......@@ -65,7 +65,7 @@ getPySrc('lcd.py', ['READY', 'scan contract..']);
//var read = await getPySrc('rd-rfid.py', []);
//var write = await getPySrc('wt-rfid.py', ['value1', 'value2', 'value3']);
var action = await new Promise.race([getPySrc('rd-rfid.py', []), getPySrc('btns.py', [])]);
var action = await new Promise.race([getPySrc('rd-rfid.py', [])]);
// if
console.log(action);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment