
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?Code:
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
EZB.Movement.ServoWheelLeftModifiedPort(EZ_B.Servo.ServoPortEnum.D10)
the d10 is the port on your ezb
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.
Code:
did you do it on this way ?
Code:
and then the buttons
Code:
First you define everything and than use them
i will try it when i get out of hospital( i had a heart attack )
i got this to work
Code:
but not the 5 button's on the movement pannel
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.
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)