| ??? 08/15/03 03:01 Read: times |
#52630 - RE: One right way Responding to: ???'s previous message |
;P1.0 connected to LED + 330 Ohm resistor to Vcc
;P1.1 connected via push to on switch to GND
org 0H
setb P1.1 ; Define as input
Loop: mov C, P1.1
jc Loop ; wait for switch activation
mov P1.0, C
jmp $ ; LED on till reset
end
Raghu
|
| Topic | Author | Date |
| error ! | 01/01/70 00:00 | |
| RE: error ! | 01/01/70 00:00 | |
| RE: error ! | 01/01/70 00:00 | |
| RE: error ! | 01/01/70 00:00 | |
| RE: error ! | 01/01/70 00:00 | |
| RE: One right way | 01/01/70 00:00 | |
| RE: Another excercise | 01/01/70 00:00 | |
| RE: One right way | 01/01/70 00:00 | |
RE: error ! | 01/01/70 00:00 |



