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

Fixes for OneWire actuator and sensor (DS2413) #23

Closed
wants to merge 1 commit into from

Conversation

tonecrafter
Copy link

pioMask() function was not returning correct value as was incrementing
after returning. Changed to increment before returning.

OneWireActuator sense() function was not applying invert option
correctly. This has been tested but there is a current issue with the
multiple inheritance of the "OneWireActuator" class for both "Actuator"
and SwitchSensor". If the order of these 2 are switched the sensor
functionality via DS2413 works correctly but actuators via DS2413 no
longer work. I have not been able to resolve this issue so for now door
sensor does not work via DS2413.

pioMask() function was not returning correct value as was incrementing
after returning. Changed to increment before returning.

OneWireActuator sense() function was not applying invert option
correctly. This has been tested but there is a current issue with the
multiple inheritance of the "OneWireActuator" class for both "Actuator"
and SwitchSensor". If the order of these 2 are switched the sensor
functionality via DS2413 works correctly but actuators via DS2413 no
longer work. I have not been able to resolve this issue so for now door
sensor does not work via DS2413.
@elcojacobs
Copy link
Member

This was fixed together with multiple other DS2413 fixes

@elcojacobs elcojacobs closed this Jul 2, 2016
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.

None yet

2 participants