cmon guys - help me out here... can a 12f683 do the job?
cmon guys - help me out here... can a 12f683 do the job?
My dad never liked you...
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.
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...
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
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.
Use the EEPROM on the 12F683. No need for an external EEPROM.
Dave
Always wear safety glasses while programming.
How about to look datasheet for your pic, and manual for PBP?
You may find nice little surprise inside.
Bookmarks