I’m not very technical so apologies if I use terms interchangeably that don’t make sense but I will try to explain. What I understand and put very basic is: we write code, it then gets “converted” so that the computer understands it. This is represented by 1’s and 0’s that trigger current in the hardware that gets stored in memory, lights a LED, etc. through (I think it’s called) logic gates.
That’s my way of understanding it. What I don’t understand is how the current is triggered? What causes that interaction?
For example, when I click save in a document. How does that trigger it to be saved in the hardware. Is it that, when I physically click on my mouse. That physical interaction of clicking sends a current and the computer recognises that the proportion of the pixels on the screen represents saving the document, which then triggers it to send that current to the logic gates?
Edit: Thank you for all your answers.
In: Technology
When you physically click your mouse, that closes a switch pulling an input of the microcontroller in your mouse down to (usually)ground. This input is one bit of a register that the microcontroller can read.
You can look up how to make a nand gate out of transistors, and then you can play this game to build up to a basic computer: http://nandgame.com
Basically, the computer doesn’t send something to logic gates, the computer is made out of logic gates.
Latest Answers