r/AskComputerScience • • Jul 04 '21

How does a computer's software interact with transistors to use them as switches?

If I type an A on my computer screen, there's a row of transistors somewhere in my computer's system that represents the binary 01000001. What exactly is switching the state on these transistors?

Every time I Google about this, only explanations on how a transistor works come up.

33 Upvotes

12 comments sorted by

View all comments

1

u/Sandarr95 Jul 04 '21

Maybe play around with a logic gate simulator. You can try to make an xor or logic gate using only nand gates (if I remember correctly nands are quite commonly used as a base). Than you could also try to come up with display encodings like ASCII. If you google "logic gate simulator" you should find plenty of web apps and offline software.

Something you said about how the software flips the transistors I think will best be understood when doing it yourself. The software doesn't flip the transistors anymore than the transistors flipping make the software. It's like air molecules and music.