what code wii give me the time from the wii menu?
-
- Posts: 1
- Joined: Wed Mar 31, 2010 6:39 pm
what code wii give me the time from the wii menu?
Can someone give me a code that will get the time from the wii menu
Re: what code wii give me the time from the wii menu?
#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!
#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!
Who is online
Users browsing this forum: No registered users and 1 guest