Jump to content

BrickletServoV2 VisualBasic Signatur


Recommended Posts

Hallo zusammen!

 

Bereite mich gerade auf die Lieferung des Bricklet Servo 2.0 vor!

Habe schon tinkerforge.dll auf die neueste Version aktualisert!

 

Signatur des Aufrufs der Prozedur passt nicht zu der Prozedur dazu! (VisualStudio FehlerCode: BC31143)

Die Signatur der "<methodname>"-Methode ist mit dem Delegaten "<Delegatenname>" nicht kompatibel - Visual Basic | Microsoft Docs

 

Aufruf:

            ipcon_servo.Connect(HOST, PORT)
            AddHandler ipcon_servo.EnumerateCallback, AddressOf PositionReachedCB

 

Prozedur:

    Public Sub PositionReachedCB(ByVal sender As BrickletServoV2, ByVal servoChannel As Integer, ByVal position As Short)

 

Was muss ich ändern?
 

Edited by MBOB
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...