Table 2 Truth table of OR gate.

From: Exploration of a wide bandgap semiconducting supramolecular Mg(II)-metallohydrogel derived from an aliphatic amine: a robust resistive switching framework for brain-inspired computing

Voltage at input A (V)

Voltage at input B (V)

Output voltage (V)

Logical state

0

0

0.04

0

5

0

4.86

1

0

5

4.85

1

5

5

4.85

1