what code wii give me the time from the wii menu?

Post Reply
brownie955msn
Posts: 1
Joined: Wed Mar 31, 2010 6:39 pm

what code wii give me the time from the wii menu?

Post by brownie955msn » Wed Mar 31, 2010 6:47 pm

Can someone give me a code that will get the time from the wii menu

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: what code wii give me the time from the wii menu?

Post by Izhido » Wed Mar 31, 2010 7:09 pm

#include "WiiUsers.h"
#include "TV.h"
#include "WiiUtils.h"

int main(int argc, char* argv[])
{
WiiUser brownie955msn;
brownie955msn.face(TV.connectedToWii().front());
brownie955msn.move(dirDown, unitPixels, 200);
brownie955msn.capture(locRelative, -50, -50, 100, 100);
std::string currentDateTime = WiiUtils::OCRScan(brownie955msn.captureBitmap(), typDateTime);
std::cout << currentDateTime;
return 0;
}

You might find the process is a little on the "manual" side, since you (the Wii user) will be given lots of directions, and asked a lot of things, during the process.
Enjoy! :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest