Shinnster
Member level 4
How do I use EEPROM as a storage like say for example, I want to store 4 different hex values and reused like as a Password.
Any idea?
- I'm using PICBasic.
Any idea?
- I'm using PICBasic.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim Write_Value as byte
Dim Read_Value as byte
Write_Value = $10
Read_Value = 0
EWrite 0, [Write_Value] 'Write the contents of 'Write_Value' variable to address 0
Read_Value = ERead 0 'Read the contents from address 0 to Read_Value variable