PWM and MEMORY


Closed Thread
Results 1 to 34 of 34

Thread: PWM and MEMORY

Hybrid View

  1. #1
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    cmon guys - help me out here... can a 12f683 do the job?
    My dad never liked you...

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    No one said the 12F683 can't do the job. It can.
    Charlie implied that you could store your value in the FLASH memory - which you can, as a non changeable constant of course - but if you need to be able to change it and store it during runtime, which is what you're asking about then the FLASH memory can't be used because the 12F series lack the abillity to write to its own FLASH memory.

    The EEPROM on the other hand will work just fine. Look at READ and WRITE in the manual.

    /Henrik.

  3. #3
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    What I think I'm reading is from all this is I need an extra chip (EEPROM) to store my variable if its changing all the time. It will change, the user can press the dim button at will - and it needs to remember that value when powered down.

    I can change the design - if its not a 12F - what could I use in its place? - or I just add an EEPROM.
    Last edited by pescador; - 13th May 2016 at 13:23.
    My dad never liked you...

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,666


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    perhaps a read of the 1st page of the pic12f683 data sheet would let the penny drop

    ps a 12f1822 can write to its flash
    Last edited by richard; - 13th May 2016 at 13:32. Reason: typo as usual

  5. #5
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    Quote Originally Posted by richard View Post
    perhaps a read of the 1st page of the pic12f683 data sheet would let the penny drop

    ps a 12f1822 can write to its flash

    thats the spirit.... thanks for the ps..
    My dad never liked you...

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,666


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    i think your missing the point , if you cant work out how to use the eprom on the 12f683 you already have then good luck with flash writes , it only 4 times more complicated.
    and don't forget flash mem has only 1/10 of the endurance of eprom mem

    paid gigs would be a new concept here ,theres no frame work for it yet.

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


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    Use the EEPROM on the 12F683. No need for an external EEPROM.
    Dave
    Always wear safety glasses while programming.

  8. #8
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    How about to look datasheet for your pic, and manual for PBP?
    You may find nice little surprise inside.

  9. #9
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73


    Did you find this post helpful? Yes | No

    Default Re: PWM and MEMORY

    Quote Originally Posted by pedja089 View Post
    How about to look datasheet for your pic, and manual for PBP?
    You may find nice little surprise inside.
    I'm reading my brains out - dont kid yourself...I'm asking to save time...I'm scrambling - if you read my posts I'm offering cash for advice..
    My dad never liked you...

Similar Threads

  1. Replies: 1
    Last Post: - 4th March 2013, 21:57
  2. Replies: 11
    Last Post: - 17th August 2010, 16:45
  3. Memory use - how much do you use?
    By keymuu in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 10th June 2009, 22:39
  4. Replies: 4
    Last Post: - 2nd March 2007, 06:12
  5. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 18:38

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