#include "vmdcl.h" VM_DCL_HANDLE pwm_handle; // Declares a VM_DCL_HANDLE variable. VM_PWM_LEVEL_T pwm_level_var; pwm_handle = vm_dcl_open(VM_DCL_PWM_KPLED, 0); // Calls vm_dcl_open() to get a handle. The second parameter is always 0. pwm_level_var.pwm_level = 2; vm_dcl_control(pwm_handle, VM_PWM_CMD_SET_LEVEL, (void *)(&pwm_level_var)); // Calls vm_dcl_control() to set the KPLED full brightness. vm_dcl_close(pwm_handle); // Calls vm_dcl_close() to close the device.
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.