This invention is directed to a switch for use in an electronic device. A rear electrode is formed of a material containing carbon as a main ingredient. A model may comprise a hierarchy of one or more modules. When the detected temperature is determined to be low, a scanning direction in which a voltage is applied to the scan electrodes is controlled such that the plasma panel is scanned from both ends to the center.