

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, 1);


pack(messageout,255, 0, 8, 'LittleEndian');

transmit(canch1, messageout);
