主权项 |
1. A control panel comprising a plurality of touch switches and a control unit, each of the plurality of touch switches comprising:
operating portions that are subject to touch operations by a conductive body, electrodes disposed proximate of the operating portions, light-emitting elements that light up the operating portions, a light switch that lights on the light-emitting elements, a brightness adjusting unit for performing brightness adjustment of the light-emitting elements through PWM (pulse width modulation) control, and a detecting circuit that outputs a detected value in accordance with electrostatic capacitances of the electrodes, the control unit comprising: a memory device that stores a reference value for each of the plurality of touch switches, a judging unit that judges for each of the plurality of touch switches that a touch operation has been made for a corresponding touch switch when a difference between the detected value detected by the detecting circuit that the corresponding touch switch comprises and the reference value for the corresponding touch switch that is stored in the memory device is not less than a prescribed value, and for the light-emitting elements that are in a light on state, a reference value changing unit that stores the detected value, which is a first value detected by the detecting circuit after transition of the executing state of the PWM control by the brightness adjusting unit, in the memory device as the reference value for the touch switch comprising the detecting circuit, wherein when the judging unit judges that the touch operation has been made to any of the plurality of touch switches when the detecting circuit makes a first detection after transition of the executing state of PWM control by the brightness adjusting unit, the reference value changing unit stores the first detected value, which is detected by the detecting circuit after the judging unit has judged that no touch operation have been made to any of the plurality of touch switches thereafter, as the reference value in the memory device. |