Skip to content

Conversation

@cesaregiannetti
Copy link

Built-in active_high property of LED (and Output in general) handles the inverted output already, simplifying the access.

Built-in active_high property of LED (and Output in general) handles the inverted output already, simplifying the access.
@RobinTail
Copy link
Collaborator

@cesaregiannetti , is it related to the #354 ?

@RobinTail RobinTail changed the base branch from master to develop June 20, 2025 07:59
@cesaregiannetti
Copy link
Author

@cesaregiannetti , is it related to the #354 ?

Not really, I mentioned this PR in the issue because I saw the possibility while investigating the issue, but PR 355 does not fix issue 354. I don't know how to fix issue 354 in the right way, I don't know python and web, but I might find some time in the future to do so

@cesaregiannetti
Copy link
Author

@RobinTail I found a neat solution for #354, which is setting initial_value=None.
I want to open a pull request, do you like me to base it on develop or on cesaregiannetti:active_high ?

relay state now reflects pin state.
inversion is now managed by gpiozero.
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