CanNativeCanSend Method

Send arbitrary CAN frames over our platform.

Definition

Namespace: CTRE.Phoenix6.Native
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public static void CanSend(
	uint messageId,
	byte[] data,
	string canbus,
	bool printErr = true
)

Parameters

messageId  UInt32
ArbId of the CAN frame to send
data  Byte
Data to send over CAN
canbus  String
Network to send frame over
printErr  Boolean  (Optional)
True to print errors to console output

See Also