I know there are some questions answered like this, and I have read them. I still have the same question though.
So from my understanding is that machine code is basically 0's and 1's. There are many switches that basically get turned on and off by when electricity is running through, its on (or is 1) and when no electricity it is off (or is 0).
We upload machine code so that the metal or what ever the chip on the board is comprised off, understands this and 0's and 1's. My question is how does this chip once it is built know to even recognize that we're saying 0's and 1's? How does the chip even know what a 0 or 1 is? How does it know that when switch is on to be assigning 1 to it and vise versa?
I know I cant just take a piece of metal(or what ever the chip is made of) and upload machine code it thinking that it will understand that I am trying to tell it that when switch is on to be assigned 1. How does this work?
This is one site I looked at:
How does a computer recognize 0s and 1s?
The problem is when the explanation gets to "The transistor can be turned on to enable access to the capacitor, either to charge it up and store a 1". So basically electricity goes through and the transistor is on and is charged and then stores a 1. But how does it know what a 1 is? How does it know how to interpret that 1 is associated with electricity charging the capacitor up?
As you can see, these are the questions I have. Any help would be great.