Skip to content

rewrite GetChipID.ino #4070

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 2 commits into from
Sep 30, 2020
Merged

rewrite GetChipID.ino #4070

merged 2 commits into from
Sep 30, 2020

Conversation

cweinhofer
Copy link
Contributor

The previous GetChipID.ino example sketch was confusing and misleading -- and didn't provide an example that would actually be useful to a new user. Not only did it simply output the MAC address (which is already easily available) but it outputted it in reverse order.

The code has been rewritten so that it outputs the exact same thing as the ESP.getChipId() function on ESP8266 (a 32-bit integer matching the last 3 bytes of the MAC address). This is both a useful value and likely what a new user would expect given the name of this sketch.

@cweinhofer
Copy link
Contributor Author

Any idea when this pull request might get approved? Or even just get some feedback from someone?

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.

2 participants