HyperNext Studio
HyperNext Studio => General => Topic started by: richmond62 on March 18, 2015, 06:11:01 PM
-
I want to control a "turtle" connected to my computer Mac or Windows via a USB device. Is there a way to detect the USB device and write to it from HyperNext?
-
I want to control a "turtle" connected to my computer Mac or Windows via a USB device. Is there a way to detect the USB device and write to it from HyperNext?
Its possible to use USB input/output on Windows platform. However, on the Mac platform it was unreliable so disabled.
Project 34 - "USB Devices" has some basic USB monitoring of a device. You need to know the Product and Vendor number of the USB device.
Project 33 - "Lightstone" is a detailed USB project for monitoring heart rate.
Chapter 29 of the Language Reference has details on USB, including procedures/functions.
-
Thanks.
-
"on the Mac platform it was unreliable" in what way?
Presumably (?????) RealBASIC could/can do this? Certainly, if so, HyperNext should also be able to.
-
"on the Mac platform it was unreliable" in what way?
Presumably (?????) RealBASIC could/can do this? Certainly, if so, HyperNext should also be able to.
Unfortunately RB couldn't - so I needed some plugin code to do it - algorithm worked fine on Windows but lots of data framing errors on Mac - just need time to work on it.
-
What chance version 4?
-
Waht about connecting to a USB device via a Windows API?