Hello guys,
please take a look at this simple code
----------------------------------------------
Device = 18F242
Clock = 4.0
WDT(OFF)
Output (PORTA.0)
High(PORTA.0)
---------------------------------------------
I am getting a regular square wave output.
This is a mistery to me.
I have tryed everything I can think-of.
I have read the datasheet, but Ihave found no reasons why I get
a square wave from pin A0 (I have tryed others pins).
It seems to me that the PIC is resetting all the time
I have already fitted a new PIC with no success!
Am I missing something really basic?
Thank you in advance.
Francesco
Desperately seeking Help. PIC18F242 Resets!
Moderators: David Barker, Jerry Messina
-
- Posts: 41
- Joined: Thu Feb 26, 2009 6:54 pm
- Location: UK
-
- Posts: 41
- Joined: Thu Feb 26, 2009 6:54 pm
- Location: UK
-
- Registered User
- Posts: 185
- Joined: Mon Mar 10, 2008 8:20 am
- Location: Seattle, WA USA
- Contact:
-
- Posts: 41
- Joined: Thu Feb 26, 2009 6:54 pm
- Location: UK