diff --git a/frontend/apps/webiopiApp.js b/frontend/apps/webiopiApp.js new file mode 100644 index 0000000..d12dfcc --- /dev/null +++ b/frontend/apps/webiopiApp.js @@ -0,0 +1,13 @@ +function app() { + console.log("----got rotV2-----"); + ROT.writeTag("ledDirection", "out",function(data) { + console.log("---- write direction to led pin: ", data); + }); + ROT.readTag("ledDirection", function(data) { + console.log("---- read direction of led pin: ", data); + }); + ROT.writeTag("ledValue", function(data) { + console.log("---- write tag dummy: ", data); + }); +} +ROT.init(app);