12f675_fuse_about_to_blow!


Closed Thread
Results 1 to 40 of 929

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    I modified it to run on my LCD and it counts from 1000 to 1012 by adding two, then does it all over again.

    So the first loop is WRITING the count to memory and the second is READING and displaying from memory to the LCD. B1 being the high BITS of the BYTE that make up W2 and B1+1 the low bits of W2, is that right?
    Yup!
    So to complete our 'mission' should I try and do the same and use a loop or assign BYTES to a WORD (if that makes sense).

    Dave
    ????

    You have the WORD size var holding the value of how many times the switch was pressed. Use the high byte low byte thing from above for writing every time the switch is pressed. Only need to read the EEPROM when the chip starts.

    Something like that
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Something like that
    I'll give it a go, not a 100% sure on this one but I'll give it go.

    This is brilliant stuff though, cheers mackrackit.

    Dave

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Mission clarification

    Power UP
    Read EEPROM
    Transfer value from EPROM to VAR

    Press Button
    VAR adds one to it's self
    Display VAR on LCD
    Write VAR to EEPROM
    Wait for another Button press

    This message will self destruct in.....
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default



    I'm on it boss 'NCIS'.....!

    Dave

  5. #5
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi mackrackit,

    I've not been able able to look at the project this weekend due to a family issue.

    Will be back 'on mission' tomorrow all being well.

    Dave

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Yup, family comes first. In the end that is all we got.

    Hope things turn out well.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Yup, family comes first. In the end that is all we got.
    Never a truer word....

    Hope things turn out well.
    Thank you and they have I'm very relieved to say.

    Back on the case tomorrow after a good nights sleep.

    Dave

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