Skip to content

readme sample code needs updated #21

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

Closed
FoamyGuy opened this issue Mar 8, 2020 · 2 comments
Closed

readme sample code needs updated #21

FoamyGuy opened this issue Mar 8, 2020 · 2 comments

Comments

@FoamyGuy
Copy link
Contributor

FoamyGuy commented Mar 8, 2020

The example in the readme is using this function clue.display_clue_data() but it does not seem to exist any more. This example from in the repo is essentially the same thing. It's using clue.simple_text_display() and it works correctly as far as I can tell. I can work on making a PR to change the readme to match the example script.

@caternuson
Copy link
Contributor

Left overs from a function name change. Looks like it also shows up in doc string:

Adafruit_CircuitPython_CLUE$ grep -i -r display_clue_data
adafruit_clue.py:        ``clue_data = display_clue_data()`` then ``clue_data[0].text = clue.proximity`` must be
adafruit_clue.py:        .. image :: ../docs/_static/display_clue_data.jpg
README.rst:    clue_data = clue.display_clue_data(title="CLUE Sensor Data!", title_scale=2, num_lines=15)

@FoamyGuy
Copy link
Contributor Author

#25 resolves this issue

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

No branches or pull requests

2 participants