Skip to content

Initial Version of Library #1

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 9 commits into from
Nov 13, 2020
Merged

Initial Version of Library #1

merged 9 commits into from
Nov 13, 2020

Conversation

makermelissa
Copy link
Collaborator

Here is the initial working version of the library.

@makermelissa makermelissa requested a review from a team November 13, 2020 19:09
Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, will merge once bitcoin example is updated to 60 seconds!

@ladyada ladyada merged commit 50b6a2f into adafruit:main Nov 13, 2020
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please please please start factoring out common code between the portal libraries instead of copying. Doing so will make them all more maintainable and easier to build upon. network, graphics and wifi_module are all things that could be used separately from MagTag. peripherals is what I'd expect the MagTag library to consist of. It encapsulates just the things that make the board unique.

print("Response is", value)
except (ValueError, RuntimeError) as e:
print("Some error occured, retrying! -", e)
timestamp = time.monotonic()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

else:
    time.sleep(time.monotonic() - timestamp)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. I'll create an issue for this.

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