This is a diagnostic application that runs on the Sun SPOT device. 
It checks power and sensor functionality. If it is connected through USB, it will output diagnostic information. It uses switches SW1 and SW2 on the eDEMO board to select test and subtest. If there is no eDEMO board, it will continually report power management data over USB.

	SW2 (right switch with LEDs at top) selects the tests.
	SW1 (left switch with LEDs at top) selects modes from within each test
When SW2 is pushed a white LED corresponding to the test number will flash: LED1 is test 1, LED2 is test2, etc.

Test 1: power measurements (SW1 to cycle through measurements)
   Current Measurement: Red is discharge, Green is charge
   External or USB Voltage Measurement: Cyan (up to LED7 is ok)
   Battery Voltage Measurement: Blue (up to LED 6 is charged battery)
   Vcc Voltage Measurement: Yellow (up to LED4 and dim LED5 is ok)
   Vcore Voltage Measurement: Orange (up to LED3 is ok)
   Power Fault: Green OK, Red Bad
		LED1: Battery out of range
		LED2: USB Voltage out of range
		LED3: External Voltage out of range
		LED4: Vcc out of range
		LED5: Vcore out of range
		LED6: Power up took to long
		LED7: Current Overloaded
		LED8: RTC failed to start
Test 2: Light level bargraph (grey)
Test 3: Temperature bargraph (dim red) (midscale is 72 deg F)
Test 4: Accelerometer bargraph
  	Accelerometer X axis: Red
   Accelerometer Y axis: Green
   Accelerometer Z axis: Blue
Test 5: LED test
   All Red LEDs
   All Green LEDs
   All Blue LEDs
   All White LEDs
