Treehopper C# API
DigitalOut Interface Reference

Interface for digital output pins More...

Inheritance diagram for DigitalOut:
DigitalBase DigitalIO ShiftOutPin Pin SpiChipSelectPin IPortExpanderPin Pin PortExpanderPin Mcp23008.Pin

Public Member Functions

Task ToggleOutputAsync ()
 Toggle the output's value More...
 
Task MakeDigitalPushPullOutAsync ()
 Make the pin a push-pull output More...
 

Properties

new bool DigitalValue [get, set]
 Get or set the digital value of the pin More...
 

Detailed Description

Interface for digital output pins

Member Function Documentation

◆ ToggleOutputAsync()

Task ToggleOutputAsync ( )

Toggle the output's value

Implemented in Pin, PortExpanderPin, and ShiftOutPin.

◆ MakeDigitalPushPullOutAsync()

Task MakeDigitalPushPullOutAsync ( )

Make the pin a push-pull output

Implemented in Pin, PortExpanderPin, and ShiftOutPin.

Property Documentation

◆ DigitalValue

new bool DigitalValue
getset

Get or set the digital value of the pin


The documentation for this interface was generated from the following file: