

delete(gcf);

fclose('all');

clear all
close all


canch1 = canChannel('PEAK-System', 'PCAN_USBBUS1');

configBusSpeed(canch1, 125000);

start(canch1)

EID = AssembleCanID(3, 10, 0)  

messageout = canMessage(EID, true, 2);


pack(messageout,31, 0, 8, 'LittleEndian');
pack(messageout,1, 8, 8, 'LittleEndian');

transmit(canch1, messageout);
