12F675 and LM35 coding issue


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Alain,

    My French is nowhere near as good as your English, :-)

    Thankfully, the internet has given us google translate which works quite well with french and where it stumbles I can normally work out the meaning when put into the correct context.

    I've had a look around but am a bit confused around 2 things.

    1. I'll need a jumper to allow the user to input "Programming mode" - Not sure where to put it, would GP3 with a pulldown res work or can I use any other GP?
    2. Once I have read the value I can flash the LED a couple of times to show the user the chip has the reading, however, when the chip reboots, how do i store the value in memory that will not be reset on a power cycle, :-)

    Easy to explain but quite complex principles to work out, :-) seems like i might be getting ahead of myself.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi, Bobbo

    have a look to this program ...

    It's not the glow driver ( you would be lost @ first lines ...) but a lighting system shown on RC Groups.
    as processor is a 12F675 ... it will be easier.

    But main pulse handling routines are in ...
    Attached Files Attached Files
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Mar 2010
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Ok, wow, that code has some awesome information in it, going to be fun getting this to work.

    You've also set a standard as to what my code should look like, :-) I was never very good at commenting when I did programming, am learning that its almost mandatory in the real world, :-).

    Thanks a mil

    Rob

Similar Threads

  1. 12F675 cant serout to PC
    By ruijc in forum General
    Replies: 9
    Last Post: - 3rd December 2007, 00:11

Members who have read this thread : 0

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

Posting Permissions

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