Simple Reset code needed for pic12f675 Please Help!


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Simple Reset code needed for pic12f675 Please Help!

    Thank you, I really appreciate the help!

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Simple Reset code needed for pic12f675 Please Help!

    You are welcome, I hope it is helpful.
    I changed the word loop to mainloop as loop is a reserved word in PBP 3.xx
    notice ADCON0
    bits 2 & 3 select the channel, bit 0 turns the AD on off and bit 1 is the GO/Done bit set to go, 0 means done which means you can check it to see if done.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Simple Reset code needed for pic12f675 Please Help!

    If you really wanted to go the long way round like that,
    you could use a variable to count the number of times your main loop is run,
    then when it reaches a certain value, simply use a spare pin to pull the MCLR.
    But it's better to fix it.

Similar Threads

  1. Replies: 14
    Last Post: - 22nd January 2012, 04:06
  2. Help needed with source code
    By orangekitty in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th October 2010, 10:06
  3. Simple TMR1 application example needed
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th February 2010, 09:52
  4. help with code needed
    By ccronin4 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th December 2005, 22:48
  5. PIC18 USB simple example needed
    By harryweb in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 29th September 2005, 22:20

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts