Skip to content

Fixed PROGMEM example, and updated for modern IDE. #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2017

Conversation

Chris--A
Copy link
Contributor

An example in the PROGMEM documentation uses strlen instead of strlen_P to access data stored using PROGMEM.
Also, since version 1.0 of the IDE (2011) the file avr/pgmspace.h no longer needs to be included (Added to Arduino.h).

See: arduino/Arduino#3430

An example in the PROGMEM documentation uses `strlen` instead of `strlen_P` to access data stored using PROGMEM.
Also, since version 1.0 of the IDE (2011) the file `avr/pgmspace.h` no longer needs to be included (Added to Arduino.h).
@agdl agdl merged commit 1d30559 into arduino:master Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants