forked from dotnet/iot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFirmataSysexCommand.cs
35 lines (34 loc) · 1.02 KB
/
FirmataSysexCommand.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Arduino
{
/// <summary>
/// Extended firmata commands
/// </summary>
internal enum FirmataSysexCommand
{
ENCODER_DATA = 0x61,
SPI_DATA = 0x68,
SERVO_CONFIG = 0x70,
STRING_DATA = 0x71,
STEPPER_DATA = 0x72,
ONEWIRE_DATA = 0x73,
SHIFT_DATA = 0x75,
I2C_REQUEST = 0x76,
I2C_REPLY = 0x77,
I2C_CONFIG = 0x78,
EXTENDED_ANALOG = 0x6F,
PIN_STATE_QUERY = 0x6D,
PIN_STATE_RESPONSE = 0x6E,
CAPABILITY_QUERY = 0x6B,
CAPABILITY_RESPONSE = 0x6C,
ANALOG_MAPPING_QUERY = 0x69,
ANALOG_MAPPING_RESPONSE = 0x6A,
REPORT_FIRMWARE = 0x79,
SAMPLING_INTERVAL = 0x7A,
SCHEDULER_DATA = 0x7B,
SYSEX_NON_REALTIME = 0x7E,
SYSEX_REALTIME = 0x7F,
DHT_SENSOR_DATA_REQUEST = 0x74, // User defined block
}
}