| ??? 04/15/02 14:03 Read: times |
#21787 - RE: Quick question on port operations |
mattew zac wrote:
------------------------------- Thanks everybody, but I think I didi not explain well my problem Correct ;o) I need an external switch, that if the user sets ON then the code will do something, and if the user sets OFF then the code will do something else is there a way to do that? Use either P1.0 or P1.1, configured as input. Connect your switch to GND. If it's open, the pin will be high. If it's closed, the pin will be low. Simple as that! Regards, Rob. |
| Topic | Author | Date |
| Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
| RE: Quick question on port operations | 01/01/70 00:00 | |
RE: Quick question on port operations | 01/01/70 00:00 |



