Edit

Share via


SupportedMode Enum

Definition

Mode bits for the Firmata protocol. These are used both for capability reporting as well as to set a mode

public enum SupportedMode
public class SupportedMode : IEquatable<Iot.Device.Arduino.SupportedMode>
type SupportedMode = 
type SupportedMode = class
    interface IEquatable<SupportedMode>
Public Enum SupportedMode
Public Class SupportedMode
Implements IEquatable(Of SupportedMode)
Inheritance
SupportedMode
Inheritance
SupportedMode

Fields

AnalogInput 2

The pin supports analog input

Dht 15

DHT type sensors

DigitalInput 0

The pin supports digital input

DigitalOutput 1

The pin supports digital output;

Encoder 9

The pin has an encoder

I2c 6

The pin supports I2C data transfer

InputPullup 11

The pin can be set to input-pullup.

OneWire 7

The pin supports one wire communication

Pwm 3

The pin supports PWM

Serial 10

The pin can perform UART (TX or RX)

Servo 4

The pin supports servo motor controls

Shift 5

Unused

Sonar 13

HC-SR04

Spi 12

The pin can be used for SPI transfer (Clock, MOSI, MISO and default CS pin) For most Arduinos, MOSI=11, MISO=12 and Clock = 13. The default CS pin is 10.

Stepper 8

The pin can drive a stepper motor

Tone 14

Arduino tone library

Applies to