This sample program verifies the VPAD library's functionality. Use it to display any value that is possible to obtain from the library, and you can edit all modifiable values.
|GYRO PRAMS||Parameters that are modifiable using the VPAD library. The following items can be edited: Zero-Point Tolerance, Zero-Point Drift Correction, Attitude Correction, Acceleration Correction. The state of each item is also displayed.|
|VPAD DEMO MAN||Information on how to operate the sample demo.|
|GYRO||The gyro value in the
|ANGLE||The angle value in the
|DIR||The dir value in the
The touch points are displayed on the DRC display and each touch point is calibrated using the default calibration parameter.
If the displayed coordinates have errors, implement calibration procedure by using the
The values can be edited using the digital buttons. Move the cursor with the +Control Pad. Use the A Button to either turn on or increment the selected digit. Use the B Button to either turn off or decrement the selected digit.
Press the R Button to start the rumble feature. One press will make the VPAD rumble for one second. Press the ZR Button to stop the rumble feature.
A block is initially displayed in the center of the screen. This shape is rotated based on the attitude data, using the fulcrum as the center point. The position of the fulcrum can be moved forward and back by three levels with the + Button and the - Button on the DRC.
Press the Y Button to start the attitude correction using magnetometer.
||Contains the application startup and framework source.|
||Form the main body of the application that performs a variety of operations using the controller values. These application files initialize and load a DRC and contain the source code for the CPU processing and rendering that is performed in every frame.|
||The collection of subroutines for drawing simple graphics.|
||Contains the framework source for the DRC.|
2013-08-21 Added the description of the attitude correction using magnetometer.
2013-05-08 Automated cleanup pass.
2012-10-05 Updated old information.
2011-03-30 Initial version.