Class CAN
Assembly: WPILibSharp.dll
Syntax
public class CAN : IDisposable
Constructors
|
Improve this Doc
View Source
CAN(Int32, CANManufacturer, CANDeviceType)
Declaration
public CAN(int deviceId, CANManufacturer manufacturer = CANManufacturer.kTeamUse, CANDeviceType deviceType = CANDeviceType.kMiscellaneous)
Parameters
Fields
|
Improve this Doc
View Source
TeamDeviceType
Declaration
public const CANDeviceType TeamDeviceType = CANDeviceType.kMiscellaneous
Field Value
|
Improve this Doc
View Source
TeamManufacturer
Declaration
public const CANManufacturer TeamManufacturer = CANManufacturer.kTeamUse
Field Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
WritePacket(ReadOnlySpan<Byte>, Int32)
Declaration
public void WritePacket(ReadOnlySpan<byte> data, int apiId)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<Byte> |
data |
|
Int32 |
apiId |
|
Implements