3 /* If you don't have an lcd display, don't worry, it will just
4 toggle some bits in the void, but ok
9 unsigned long ms, seconds, oldSeconds=-1;
11 printf ("\nStarting systemclock test.\n");
15 LcdLPutString(0, "Testing clock");
16 LcdLPutString(2, "ms: ");
24 LcdLPrintf (2 + (4<<8), "%ld", ms);
27 if (seconds!=oldSeconds) {
28 printf ("%02d:%02d.%02d\n", (int)seconds/3600,
36 if (Serial0CharArrived()) {
38 case '2': printf ("Switching to 2 clocks/cycle\n"); CpuSpeed(2); break;
39 case '4': printf ("Switching to 4 clocks/cycle\n"); CpuSpeed(4); break;