Page 1 of 1

Arduino and Serial port communcation

Posted: Sat Dec 10, 2016 8:25 am
by santa
Arduino microcontrolers can send and receive data using serial or serials ports.
Pure Basic forum has an example how to do it.

Is there an easy way to use Spider Basic to do that?
I would appreciate if somebody can present an example.

I thank you in advance

Re: Arduino and Serial port communcation

Posted: Sat Dec 10, 2016 8:39 am
by Fred
No, SpiderBasic runs in the browser and can't access hardware ports. You need to use PureBasic for that.

Re: Arduino and Serial port communcation

Posted: Sat Dec 10, 2016 10:43 am
by tj1010
You would need a browser-specific plugin and then use inline-JS. There is also signed java applets but those probably aren't even widely supported anymore..

Re: Arduino and Serial port communcation

Posted: Sat Dec 10, 2016 3:50 pm
by Bradan
It is possible through webusb (not recommended):
https://wicg.github.io/webusb/
https://github.com/webusb/arduino/

Re: Arduino and Serial port communcation

Posted: Sun Dec 11, 2016 11:36 am
by santa
Ι think

Spider basic can have a broad application in controllers if a hardware connection relative to serial ports can be developed.

Any way, I think some java relative software already exists connecting serial ports.