Labrador/Old Matlab Interface/lcdtoggle.m

7 lines
297 B
Mathematica
Raw Normal View History

2016-09-07 07:36:43 +01:00
function [] = lcdtoggle(onoff);
mex_usb_send_control('40', 'a1', dec2hex(onoff), '0', '0', '0');
% driverLocation = 'c:\libusbk\examples\open-device\debug\win32';
% command = [driverLocation '\open-device "03eb" "a000" "' command '" "' num2str(onoff) '" "NULL" "NULL" "NULL"']
% system(command);