Use Deno.run() to communicate with Arduino
Hey I'm trying to communicate via USB serial with my Arduino. My goal is to have the result I get via USB serial available as a variable in Deno. I tried to do the whole thing with
This is my Arduino main file:
With this simple PowerShell script I can read the data from USB serial:
How can I run the whole thing in Deno now and get the output?
I have tried the following which obviously does not work:
Can anyone help me with this? Or is there perhaps a better solution for that?
Thanks!
Deno.run().This is my Arduino main file:
With this simple PowerShell script I can read the data from USB serial:
How can I run the whole thing in Deno now and get the output?
I have tried the following which obviously does not work:
Can anyone help me with this? Or is there perhaps a better solution for that?
Thanks!
