jtlodi wrote:Hi Phishguy ... came across your post about servos. I am brand new to FB but have been programming in QB, VB, VisualFoxPro for lots of years. I have a stepper motor control board from Eggert Electrics which interactively operates steppers using QB at the DOS level (Print #1, ... ). Of course I have to run QB in DOS and am looking for a way to run the code under Windows.
Is FB able to control serial ports while running under XP? or do I need some sort of serial port dll control? Windows took away direct access to ports and that caused a lot of hassles.
Hopefully you will tell me that it is a piece of cake in FB!
Regards,
Jim in Lodi
hey jt, post some of your qb code, I can translate it to fb in seconds...
well i think i need to buy a new controller becouse i need to change computer . and now i need to use usb becouse my laptop dont have serial connection..
but my question is .. maybe i can connect my parallax serial controller to the usb om my own laptop .. but how :P
i think it is easyer to buy a new one with usb on it ..
and i didnt buy the first one, my school did so i dont think money is the problem..
EDIT: one more thing ... is it hard to program usb stuff?
You have 2 options. The first is to buy a USB to serial port converter to connect between the PC ant you servo controller. The second, and I think the best option, is to get the USB servo controller.( I use this and it works great) You would notice no difference in your program as both methods appear as a serial com port to your PC. No USB programming knowledge is required.
well i have the pololu servo controller now ..and i changed a little bit in your code and i got it to open a connection but i dont know how to send so i can get servo 0 to change positon ... well im a beginner in this so i dont know what im doing :D