Digital electronics works with signals that are either on or off (1 or 0). Here you'll find logic gates, the ESP32 microcontroller, and the Raspberry Pi.
Logic Gates