USB and QBasic
Moderators:Administrator, Global Moderator
Is it possible to control a USB peripheral using QBasic ???
Re: USB and QBasic
USB was new to windows 98 for the fact it resets every ten seconds unless in use, so you can plug a piece of hardware into it and it will find it without restarting, but that also means that in qbasic, you would need to reset the variable at exactly the same time the port resets, that mkaes it sound possible but difficult, but, i am leaving out one major detail: there is an interrupt rate on a usb port that the call absolute cannot handle, so there is, sufficive to say, no technical way to do that using only qbasic, however, if you know asm, get turbo assembler and link that using this syntax in qbasic:
SHELL "tasm.exe /command "+"the single line of code here"
and you can access most everything there, but i am not 100% shure that even that will work!
SHELL "tasm.exe /command "+"the single line of code here"
and you can access most everything there, but i am not 100% shure that even that will work!
I've not been a QBasic programmer since at least 2004. It was fun; I've moved on. Best of luck.