Edit

Share via


Button(GoPiGo, GrovePort) Constructor

Definition

Button constructor

public Button (Iot.Device.GoPiGo3.GoPiGo goPiGo, Iot.Device.GoPiGo3.Models.GrovePort port);
new Iot.Device.GoPiGo3.Sensors.Button : Iot.Device.GoPiGo3.GoPiGo * Iot.Device.GoPiGo3.Models.GrovePort -> Iot.Device.GoPiGo3.Sensors.Button
Public Sub New (goPiGo As GoPiGo, port As GrovePort)

Parameters

goPiGo
GoPiGo

The GoPiGo3 class

port
GrovePort

The Grove Port, need to be in the list of SupportedPorts

Applies to