Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Allow each Arduino to have both Input and Output devices #19

Open
antoinepetty opened this issue Dec 30, 2019 · 4 comments
Open

Allow each Arduino to have both Input and Output devices #19

antoinepetty opened this issue Dec 30, 2019 · 4 comments
Assignees
Labels
Milestone

Comments

@antoinepetty
Copy link
Member

antoinepetty commented Dec 30, 2019

Currently the code is fixed for Ard_T and Ard_M to have Output objects, and Ard_I to have Input objects. Should allow for any Arduino to have both input and output devices attached.

One example for this use is to allow for the Sonar to be controlled via JSON

This would negate the need for certain conditional statements and the hardcoded main loop control for Ard_I

@antoinepetty
Copy link
Member Author

Might need Input and Output to inherit from a core Device class with a control method

@antoinepetty
Copy link
Member Author

Changed size to large because this could involve some smart decisions and therefore more code changes

@antoinepetty
Copy link
Member Author

See generic-device-base-class branch

@antoinepetty
Copy link
Member Author

This is not a high priority feature. The code will function fine without it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants