Sleepy566
Joined: 28 Dec 2006 Posts: 23
|
Posted: Sat Dec 30, 2006 5:24 am Post subject: Memory Stick Detector |
|
|
I'm very new at programming, and I want my program to write and read off of the memory stick, so the first thing I need is a way to tell if the memory stick is in.
What does the code for this look like?
I know I need these three:
| Code: | PSP_MODULE_INFO("name", 0x1000, 1, 1);
and
PSP_MAIN_THREAD_ATTR(0);
plus the
PSP_CTRL_MS |
but I am not sure how to make it check and display a message. I believe you need to loop, but I am stuck at that.
If somebody can show me code for a memory stick detecting program, then that would be extremely helpful.
Thanks to all that help!
-Sleepy |
|