arduino / arduino/Arduino

Error in the description of the library EEPROM.get ()

Open
#3,841 6 comments 0 reactions 1 assignee Claimed by @cmaglie View on GitHub
Component: Documentation feature request Library: EEPROM
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

https://docs.arduino.cc/learn/built-in-libraries/eeprom#get

Now:

```cpp
eeAddress = sizeof(float); //Move address to the next byte after float 'f'.
```

Need:

```cpp
eeAddress += sizeof(float); //Move address to the next byte after float 'f'.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.