![]() | ![]() | ![]() |
| | |||||||
| 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) |
| Experienced Member | Hello all, I'm facing a problem which PORTA is not working properly. Can anyone tell me if PORTA,4 would work as output if I have an external crystal and TMR1 working? I've made TRISA b'00001111', I suppose I would still be able to use RA4 as output? But still there isn't any voltage coming out from RA4 after I turned it on. RA6,7 is used for external crystal. I've uploaded the full code if anyone wants to check it out. |
| | |
| | (permalink) |
| Super Moderator | A4 is an open-collector output (read the datasheet), you need a pullup resistor to use it as a normal output. |
| | |
| | (permalink) |
| Experienced Member | thanks, got it now. |
| | |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Latest |
| IR Fan | AtomSoft | Micro Controllers | 35 | 19th March 2008 04:56 AM |
| Splitting serial output microcontroller | robz | Micro Controllers | 2 | 15th February 2008 07:27 AM |
| Op-amp cct output impedance | dknguyen | General Electronics Chat | 6 | 26th January 2008 02:42 AM |
| Big thermocouple ADC problem | Oznog | General Electronics Chat | 9 | 4th May 2004 08:42 PM |
| Input and Output Resistance Help | andy257 | General Electronics Chat | 1 | 21st April 2004 01:35 PM |