![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Yes, and if you're using other pins of PORTA, you might need to keep only bit 4, 5, 6 by
andlw b'01110000' ;keep only bit 4,5,6
__________________
Superman returns..
|
|
|
|
|
|
|
(permalink) |
|
Oh I see then I should add ANDLW b’01110000’ before checking the three buttons. I have added the ANDLW only for the first button. I have to add the other two also before checking them.
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| PIC A/D Sampling multiple inputs | NJ Roadmap | Micro Controllers | 10 | 21st February 2007 01:53 AM |
| PIC 16F628A UART Coding Problem | Gayan Soyza | Micro Controllers | 11 | 1st February 2007 11:58 AM |
| Weird 74LS90 counter problem | Torben | Electronic Projects Design/Ideas/Reviews | 11 | 8th December 2006 09:07 AM |
| Mysterious Problem! | matasoft | Micro Controllers | 15 | 11th September 2004 07:49 PM |
| Creative live 5.1 problem... | nassus | General Electronics Chat | 9 | 10th June 2004 05:50 AM |