Simple Microcontroller Program Tutorial
In assembly language, there are specific instructions to output high or low levels on a certain port. Taking port P1.0 as an example: The instruction to set this port to high is: SETB P1.0 The instruction to set this port to low is: CLR P1.0 Now, we will connect a small light to the microcontroller’s … Read more