GrumpyOldPizza / ArduinoCore-stm32l0

Arduino Core for STM32L0
125 stars 67 forks source link

EEPROM code snipet #82

Closed Taher1322 closed 5 years ago

Taher1322 commented 5 years ago

Hello Sir, I want to store a particular value into eeprom and before transmitting have to read and transmit over the lora network. Can you help me out with basic read/write operation in Grasshopper board. Small code of device performing read/write operation would be helpful.

Thank you

GrumpyOldPizza commented 5 years ago

The code is using the normal EEPROM class.

https://www.arduino.cc/en/Reference/EEPROM

There are also examples included directly.

Taher1322 commented 5 years ago

Sir, I am aware of that Arduino reference. what i need to understand is how can i use EEPROM address locations on cmwx1zzabz and store a value and read it later. Hope to hear from you soon Thank You

GrumpyOldPizza commented 5 years ago

I am not sure what you are asking. The EEPROM class is the way to access the EEPROM on STM32L082. There is code with the examples of how to do that.

If you are interested in how to directly access the underlying hardware, then You might want to check out the reference manual.

On Sun, Jun 2, 2019, 23:09 Taher1322 notifications@github.com wrote:

Sir, I am aware of that Arduino reference. what i need to understand is how can i use EEPROM address locations on cmwx1zzabz and store a value and read it later. Hope to hear from you soon Thank You

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0/issues/82?email_source=notifications&email_token=ABXBA7AYHLLH2ZI2G7JTUUTPYSRO5A5CNFSM4HSABBS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWYKAIQ#issuecomment-498114594, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXBA7EKSAI67JX3SGMWIFDPYSRO5ANCNFSM4HSABBSQ .