Get position servo using SC16A
Posted: Mon Mar 14, 2011 4:56 pm
Hi,
i want to control servo motor and get the position only using SC16A and PC (not using addition microcontroller as host).Is it can or not?
If can... Thats mean i need to modified the VB code that provide by Cytron right?
for request feedback it just only write:
Try
serialPort.Write(StrConv(Chr(&H40),VbStrConv.None))
serialPort.Write(StrConv(Chr(&H41), VbStrConv.None))
Catch ex As Exception
MsgBox(ex.ToString)
right?
The question is,
How about to get the position?
I appreciate if you can show the method.
-beginner VB-
i want to control servo motor and get the position only using SC16A and PC (not using addition microcontroller as host).Is it can or not?
If can... Thats mean i need to modified the VB code that provide by Cytron right?
for request feedback it just only write:
Try
serialPort.Write(StrConv(Chr(&H40),VbStrConv.None))
serialPort.Write(StrConv(Chr(&H41), VbStrConv.None))
Catch ex As Exception
MsgBox(ex.ToString)
right?
The question is,
How about to get the position?
I appreciate if you can show the method.
-beginner VB-