A logic basic cell, a logic basic cell arrangement, and a logic device. In some embodiments at least one of the transparent electrode and the other electrode has two layers. The earphone jack can pass audio signals from the headset, but if an external device is detected, software is implemented to measure the amplitude of electric current from the external electronic device.