SupportedMode Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Implements
Constructors
SupportedMode(Byte, String) |
Declares a new pin mode |
SupportedMode(Byte, String, PinUsage) |
Declares a new pin mode |
SupportedMode(SupportedMode) |
Fields
AnalogInput |
The pin supports analog input |
Dht |
DHT type sensors |
DigitalInput |
The pin supports digital input |
DigitalOutput |
The pin supports digital output; |
Encoder |
The pin has an encoder |
Frequency |
Frequency measurement |
I2c |
The pin supports I2C data transfer |
InputPullup |
The pin can be set to input-pullup. |
OneWire |
The pin supports one wire communication |
Pwm |
The pin supports PWM |
Serial |
The pin can perform UART (TX or RX) |
Servo |
The pin supports servo motor controls |
Shift |
Unused |
Sonar |
HC-SR04 |
Spi |
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 |
The pin can drive a stepper motor |
Tone |
Arduino tone library |
Properties
EqualityContract | |
Name |
The name of the pin mode |
PinUsage |
The PinUsage for this internal mode, if applicable |
Value |
The value for the pin mode |
Methods
<Clone>$() | |
Equals(Object) | |
Equals(SupportedMode) | |
GetHashCode() | |
PrintMembers(StringBuilder) | |
ToString() | Converts the value of this instance to its equivalent string representation. |
Operators
Equality(SupportedMode, SupportedMode) | |
Inequality(SupportedMode, SupportedMode) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for