[WiiFlash] WiiFlash Server Console Version Problems

zshe803 at cse.unsw.EDU.AU zshe803 at cse.unsw.EDU.AU
Sun Mar 30 22:21:52 PST 2008


Hi,

I have been using the WiiFlash Server Console Version and have run into
some problems when trying to use the LEDs.

Wiimote.LED1 - Turns LED1 On
Wiimote.LED2 - Turns LED2 On
Wiimote.LED3 - Turns LED1 & LED2 On
Wiimote.LED4 - Turns LED3 On

I am unable to turn just LED 4 On.

Sample Code:
var currLED:Number = 1;

function processLED():void
{
	txtLED.text = String(currLED);
	switch(currLED){
		case 1:
			myWiimote.leds = Wiimote.LED1;
			break;
		case 2:
			myWiimote.leds = Wiimote.LED2;
			break;
		case 3:
			myWiimote.leds = Wiimote.LED3;
			break;
		case 4:
			myWiimote.leds = Wiimote.LED4;
			break;
	}
}

Is it something I am doing wrong or is it a problem with the server app?

Also is the console server source code available anywhere?

Regards,
Zac Shenker




More information about the WiiFlash mailing list