İngilizce dilinde oku

Aracılığıyla paylaş


SpiMessageType Sabit listesi

Tanım

Desteklenen tüm SPI iletileri

C#
public enum SpiMessageType
Devralma
SpiMessageType

Alanlar

GetFirmwareVersion 4

Üretici yazılımı sürümünü alma

GetHardwareVersion 3

Donanım sürümünü alma

GetId 5

Tanımlayıcıyı alma

GetManufacturer 1

Üreticiyi edinin

GetMotorAEncoder 30

A motorunun kodlayıcıyı alma

GetMotorAStatus 34

A motorunun durumunu alma

GetMotorBEncoder 31

B motorunun kodlayıcıyı alma

GetMotorBStatus 35

B motorunun durumunu alma

GetMotorCEncoder 32

C motorunun kodlayıcıyı alma

GetMotorCStatus 36

C motorunun durumunu alma

GetMotorDEncoder 33

D motorunun kodlayıcıyı alma

GetMotorDStatus 37

D motorunun durumunu alma

GetName 2

Adı al

GetSensor1 13

Algılayıcı 1'i edinin

GetSensor2 14

Algılayıcıyı edinin 2

GetSensor3 15

Algılayıcıyı edinin 3

GetSensor4 16

Algılayıcıyı edinin 4

GetVoltage3V3 7

Gerilim Al (3.3V)

GetVoltage5V 8

Gerilim Al (5V)

GetVoltage9V 9

Gerilim Al (9V)

GetVoltageVcc 10

Gerilim Alma (Vcc)

I2CTransact1 17

I2C işlemi 1

I2CTransact2 18

I2C işlemi 2

I2CTransact3 19

I2C işlemi 3

I2CTransact4 20

I2C işlemi 4

None 0

Hiçbiri

OffsetMotorEncoder 29

Ofset motor kodlayıcı

SetAddress 11

Adresi ayarla

SetLed 6

LED'i ayarlama

setMotorDps 25
SetMotorDps 25

Motor açısal hızını ayarlama (saniye başına derece)

setMotorDpsKD 27
SetMotorDpsKD 27

Motor açısal hız kontrol cihazının türev faktörünü (KD) ayarlayın

SetMotorDpsKP 26

Motor açısal hız denetleyicisinin orantılı faktörünü (KP) ayarlama

setMotorLimits 28
SetMotorLimits 28

Motor sınırlarını ayarlama

SetMotorPosition 22

Motor konumunu ayarlama

SetMotorPositionKD 24

Motor konum kontrol cihazının türev faktörünü (KD) ayarlama

SetMotorPositionKP 23

Motor konum kontrol cihazının orantılı faktörünü (KP) ayarlama

SetMotorPower 21

Motor gücünü ayarlama

SetSensorType 12

Algılayıcı türünü alma

Şunlara uygulanır

Ürün Sürümler
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0