CanNativeCanSend Method
Send arbitrary CAN frames over our platform.
Namespace: CTRE.Phoenix6.NativeAssembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
public static void CanSend(
uint messageId,
byte[] data,
string canbus,
bool printErr = true
)
static member CanSend :
messageId : uint32 *
data : byte[] *
canbus : string *
?printErr : bool
(* Defaults:
let _printErr = defaultArg printErr true
*)
-> unit
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