83Plus:Software:USBTools/Demos

From WikiTI
Revision as of 22:06, 23 November 2011 by Ahelper (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The demos menu lists demos for various USB devices. These demos can be used to test the compatibility of specific USB peripherals with usb8x.

Demos
1) Mouse Demo
2) KBD Demo
3) Gamepad Demo
4) MSD Demo
5) Silver Demo
6) Back


Mouse Demo

The mouse demo tests usb8x's mouse driver. Connect a mouse to the USB port, run the demo, and you should see a mouse cursor in the middle of the screen. Moving the mouse around should move the cursor, and pressing a mouse button should change the cursor graphic. Press the CLEAR button to quit the demo. Warning: the demo doesn't do bounds checking on the edge of the screen. Moving the cursor off the edge of the screen may crash your calculator!

The mouse demo is replicated in the usb8x sample code.


KBD Demo

The kbd demo tests usb8x's keyboard driver. Connect a keyboard to the USB port, run the demo, and start typing on the keyboard. The keys you type should be echoed on the calculator's screen. Pressing Caps Lock and Num Lock should light the appropriate LEDs on the keyboard and affect the key output accordingly. Press CLEAR on the calculator's keypad, or Esc on the keyboard to quit the demo.


Gamepad Demo

The gamepad demo tests usb8x's gamepad driver. The demo is the same as the mouse demo, but the cursor is controlled by a gamepad instead of a mouse. When you start the gamepad demo, you will be prompted to press Down, Up, Left, Right, and Fire on your gamepad to set the button mappings. Then the mouse cursor will appear on the screen and can be controlled by the buttons you mapped earlier. Note that not all gamepads may be compatible with the driver. Please see the list of supported devices for gamepads that have been tested to work with usb8x.


MSD Demo

There is currently no MSD demo in USBTools. Use msd8x to test the mass storage driver.


Silver Demo

The silver demo tests usb8x's silverlink driver, which allows you to use the silver TI-Graphlink to communicate to another calculator via usb8x. In the demo, however, the calculator communicates with itself. Plug in the silverlink to the USB port, and then connect the serial end of the silverlink to the calculator's serial I/O port. When you run the demo, the calculator will transmit data for a few seconds, and then display the throughput, in bytes per second, of data transmitted.