
baloo
Australia
Asked
— Edited
hi all i have a form with a connect panel working ok i have Movement Panel and want to know how to assign ports to it can anyone help with the code needed?
Private Sub EzMovement1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EzMovement1.Load
EzB_Connect1
EZB.Movement.ServoWheelLeftModifiedPort(EZ_B.Servo.ServoPortEnum.D10)
End Sub
you can assign the port like you did :
EZB.Movement.ServoWheelLeftModifiedPort(EZ_B.Servo.ServoPortEnum.D10)
the d10 is the port on your ezb
:)
hi i get error
Warning 1 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
Error 2 Expression is not a method.
hi there baloo,
did you do it on this way ?
and then the buttons
First you define everything and than use them
hi i will try it when i get out of hospital( i had a heart attack )
Ohh, ok, take it easy, take your time, if you need help with programming. I'm not a star but every little bit helps
hi i got this to work
but not the 5 button's on the movement pannel
can you attach your code so i can have look.
so i see you have your wheels on d10 and d11
if you want i can make a little example for you if you give your ports and equipment.
hi i just have a form with a connect panel and movement panel i can assign motors see post #7 but when clicking on and button on the movement nothing happens i try to unload my project(zip)