Help me write a program (hex file) for microcontroller PIC16F873. I want to can-bus signal converted to analog signal. That ports (PIC16F873) RB1, RB2, RB3, RB4, RB5, RB6 output analog signal when received special digital signal.
Example:
id address 00200066h, 0bit – XX, 1bit – XX, 2bit – XX, 3bit – XX, 4bit – XX, 5bit – XX, 6bit – XX, 7bit – 77, —- BUTTON VOLUME (+) UP PUSHED (on steering wheel) —- output port RB1 analog signal; id address 00200066h, 0bit – XX, 1bit – XX, 2bit – XX, 3bit – XX, 4bit – XX, 5bit – XX, 6bit – XX, 7bit – 7F, —- RELEASED —-no action;
Electrical circuit example in image. Please help me!
Below another example attach a hex files and descriptions for MKV GTI and Volvo S80 (steering wheel) buttons can-bus info in exel file.
Can-bus buttons hex fileCan-bus sniffer hex filecan buttons firmware commands exel filecan sniffer firmware commands exel file
Example:
id address 00200066h, 0bit – XX, 1bit – XX, 2bit – XX, 3bit – XX, 4bit – XX, 5bit – XX, 6bit – XX, 7bit – 77, —- BUTTON VOLUME (+) UP PUSHED (on steering wheel) —- output port RB1 analog signal; id address 00200066h, 0bit – XX, 1bit – XX, 2bit – XX, 3bit – XX, 4bit – XX, 5bit – XX, 6bit – XX, 7bit – 7F, —- RELEASED —-no action;
Electrical circuit example in image. Please help me!
Below another example attach a hex files and descriptions for MKV GTI and Volvo S80 (steering wheel) buttons can-bus info in exel file.
Can-bus buttons hex fileCan-bus sniffer hex filecan buttons firmware commands exel filecan sniffer firmware commands exel file