This sample uses multiple features of the CTR-SDK simultaneously.
This demo uses the following features simultaneously.
snd
fnd
camera
hid
fs
gx
(TriangleSimple
)Only this demo supports Applets at the current time.
Refer to this demo if you want to see an example of Applet-compatible code.
To start this demo as a card-based application, a CTR Card with built-in backup memory must be inserted in the system on which you start the demo. If not inserted, the error C8804497
occurs at startup.
Input | Operation |
---|---|
+Control Pad A, B, X, Y Buttons L, R, START Buttons |
Detects whether buttons have been pressed. Press the X + A Buttons simultaneously to access save data. Press the R + A Buttons simultaneously to start the software keyboard. Press the START+ L + R Buttons simultaneously to restart the demo.(*1) |
Touch Panel | Gets touch panel input coordinates and displays them. |
Accelerometer | Gets accelerometer sensor X-, Y-, and Z-axis values and displays them. |
Microphone | Gets input from the microphone and displays it. |
Right Outer Camera | Gets input from the right outer camera and displays it. |
HOME | Moves to the dev menu. Restores the screen to original status if pressed again. |
Close the system. | The system will enter Sleep Mode. Opening the system returns the screen to original status. |
*1: The restart feature is not available when attached from the debugger (including when using the L Command in the Test Menu environment). This will reset the debugger instead.
The following screens are displayed when you run the demo.
TriangleSimple
demo is running.
Savedata is formatted data:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0If save data is formatted, get the data from the first 16 bytes in the save data to display. The following message is displayed.
Savedata already exists data:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15After this, read the save data using new thread and repeat writing "0,1,2.."
The following log is also displayed in debug output.
Demo1 Start X + A : Run Optional Device Demo (Ex. Card Buckup Device..) R + A : Run Software Keyboard Applet
CONFIDENTIAL