I think you should study how the CAN controller in the 18F4685 works, how to configure it, how to determine the filter and mask values to determine which CAN IDs are used, how to load the data and ID registers to send a message and how to process incoming messages before that. Otherwise, how would you know what steps to include in the flow chart?@JohnInTX Is it time to start the flow chart? I think i should start right now. There are some things left that can be clear when making a flow chart. I would like to make a flow chart in which I am controlling the doors and head light of the car through the CAN bus
@JohnInTX You are absolutely right. I think that I can get some idea by looking at open source code but I am looking from long time on google. I have not found any useful code for PIC18f4685 CAN BUS. Do you have some source code for PIC18f4685 ?I think you should study how the CAN controller in the 18F4685 works, how to configure it, how to determine the filter and mask values to determine which CAN IDs are used, how to load the data and ID registers to send a message and how to process incoming messages before that. Otherwise, how would you know what steps to include in the flow chart?