Patent ID: 7003408

Claim:
A device for setting a hysteresis characteristic with respect to an input signal, said device comprising: a voltage dividing circuit for dividing a voltage of said input signal into a first voltage and a second voltage which is lower than said first voltage; and a computer including a first port to which said first voltage is given; and a second port, that is separate from said first port, to which said second voltage is given, said computer performing a predetermined software process to set a hysteresis characteristic; wherein said computer performs a software process of: when said voltages given to said first and second ports are equal to or higher than a predetermined threshold, determining said input signal to have a high level; when said voltage given to said first port is equal to or higher than the threshold and said voltage given to said second port is lower than the threshold, determining said input signal to have the same level as an earlier determination; and when said voltages given to said first and second ports are lower than the predetermined threshold, determining said input signal to have a low level.