Skip to content

OLED Enabled and similar should be application instantiable #6

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

Open
ajfisher opened this issue Aug 15, 2018 · 0 comments
Open

OLED Enabled and similar should be application instantiable #6

ajfisher opened this issue Aug 15, 2018 · 0 comments

Comments

@ajfisher
Copy link
Contributor

At the moment to enable certain behaviour such as an OLED, you need to initialise it in main.py to make it available on and then bring it into your application code to use it.

Suggest moving the creation and initialisation step to the application level instead where it can then have more control. This will also allow for a generic interface such as nodebots to be able to create objects on the fly and not have to pre-determine what types of modules you want to use up front and then flash the firmware for it (for what amounts only to a config change).

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

1 participant