A small part of the test program:
int color=0;
if (true) {
color = CS.getColorNumber();
if (color == 5) {
Sound.beep();
} // if
} // if
LCD.drawInt(color,3,6);
LCD.refresh();
the strange thing happening is the number on the LCD screen. It starts with a number between 0 and 17 but later on another digit appears and the displayed number is between 0 and 100. My "debugging-number 5 beep" tells me that variable "color" is 5 at that moment but the LCD screen shows 57 with a yellow paper in front of the sensor.
Any ideas what's happening? Thanx in advance! Frederik.
________
Ford Thames 300E Specifications
