Skip to content

Controlling individual pins #74

Answered by mattjlewis
Seggan asked this question in Q&A
Discussion options

You must be logged in to vote

Create an instance of com.diozero.api.DigitalOutputDevice (Javadoc). You then have access to on() / off() / toggle() / setValue(boolean) methods.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Seggan
Comment options

@Seggan
Comment options

@mattjlewis
Comment options

@Seggan
Comment options

Answer selected by Seggan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants