Anyone used pwm on a vf61 and vb.net
all fine until routine
pwm.Pwm_SetPwm(pwmHandle_A, pwmFrequencyA, (dutyCycleA * pwmOffsetFactor) / 100)
declaration of routine
<DllImport(HAL)> _
Public Shared Function Pwm_SetPwm(ByVal hPort As IntPtr, ByVal freq As UInt32, ByVal duty As UInt32) As Boolean
End Function
Goes into routine and routine crashes system !