Changeset 269
- Timestamp:
- 09/17/08 20:42:41 (5 years ago)
- Location:
- branches/workshop/Accelerator
- Files:
-
- 1 added
- 2 modified
-
AcceleratorTest2_USB.m (modified) (1 diff)
-
AcceleratorTest3_USB.m (modified) (1 diff)
-
FreeFallDemo.m (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/workshop/Accelerator/AcceleratorTest2_USB.m
r100 r269 14 14 %% Get USB handle, and keep it 15 15 % keep handle once and for all 16 global myNXT 17 if isempty(myNXT) 18 myNXT = USB_OpenHandle; 16 myNXT = COM_OpenNXT; 19 17 % and still use the old function, don't worry that it's called "BT_" 20 BT_SetDefaultHandle(myNXT);21 end%if 18 COM_SetDefaultNXT(myNXT); 19 22 20 23 21 -
branches/workshop/Accelerator/AcceleratorTest3_USB.m
r100 r269 14 14 %% Get USB handle, and keep it 15 15 % 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 16 myNXT = COM_OpenNXT; 17 COM_SetDefaultNXT(myNXT); 18 22 19 23 20
