Skip to content
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

SNS - Analogue Mux #98

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

SNS - Analogue Mux #98

wants to merge 6 commits into from

Conversation

ishmis
Copy link
Contributor

@ishmis ishmis commented Feb 20, 2023

Adding the analogue mux code, separating it from the i2c_mux and enforcing a mux sensor interface.

  • Analogue Mux Code
  • General Mux Sensor Code
  • Adding creation tests

@ishmis ishmis self-assigned this Feb 20, 2023
@ishmis ishmis added the sensors Sensors Project label Feb 20, 2023
@ishmis ishmis changed the title SNS - Anlogue Mux SNS - Analogue Mux Feb 20, 2023
@ishmis ishmis marked this pull request as ready for review April 14, 2023 12:56
@ishmis ishmis requested a review from kshxtij as a code owner April 14, 2023 12:56
std::shared_ptr<io::IGpioWriter> disable_input_writer,
std::array<std::unique_ptr<IMuxSensor<T>>, N> &sensors)
{
if (N > 16) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment or constexpr explaining the 16

Copy link
Contributor

@TomLonergan03 TomLonergan03 left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sensors Sensors Project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants