bit banging

jargon

programming

Driving a hardware protocol entirely in software, toggling a pin bit by bit instead of using a dedicated controller.

How you speak SPI or serial on a chip that lacks the peripheral: the CPU personally raises and lowers the line with careful timing. Inefficient, fragile at speed, and occasionally the only way - a rite of passage in embedded work.

Also known as: bit-bang

All glossary entries