Sending serial data to computer or smart phone over WiFi

With the help of @kennethlimcp, I’ve got the barcode scanner up and running using serial. I’ve been reading up on the aforementioned methods of WiFi data transmission and Spark.variable() should suit my needs nicely. The usage, as described in the docs as well as in @binaryfrost 's example seems relatively straightforward and I have successfully tested it out on some analog input data from a force sensor. What I am now grappling with is how to reference serial data as a Spark.variable() string. Any thoughts on this? I will be working on this over the weekend and will post any successful attempts.

1 Like