Changeset 269

Show
Ignore:
Timestamp:
09/17/08 20:42:41 (5 years ago)
Author:
atorf
Message:

Updated Acceleartor-Demos to new toolbox version, added FreeFall?-Demo

Location:
branches/workshop/Accelerator
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • branches/workshop/Accelerator/AcceleratorTest2_USB.m

    r100 r269  
    1414%% Get USB handle, and keep it 
    1515% keep handle once and for all 
    16 global myNXT 
    17 if isempty(myNXT) 
    18     myNXT = USB_OpenHandle; 
     16myNXT = COM_OpenNXT; 
    1917    % and still use the old function, don't worry that it's called "BT_" 
    20     BT_SetDefaultHandle(myNXT); 
    21 end%if 
     18COM_SetDefaultNXT(myNXT); 
     19 
    2220 
    2321 
  • branches/workshop/Accelerator/AcceleratorTest3_USB.m

    r100 r269  
    1414%% Get USB handle, and keep it 
    1515% keep handle once and for all 
    16 global myNXT 
    17 if isempty(myNXT) 
    18     myNXT = USB_OpenHandle; 
    19     % and still use the old function, don't worry that it's called "BT_" 
    20     BT_SetDefaultHandle(myNXT); 
    21 end%if 
     16myNXT = COM_OpenNXT; 
     17COM_SetDefaultNXT(myNXT); 
     18 
    2219 
    2320