Arrested_Mechanics
Newbie level 2
Hello!
I am writing code for a PIC18f2580 that interfaces with an already present CAN bus. To begin, I desire the controller to light an LED when a specific address is read. When I can prove to myself that this works, the data will be sent over USART.
I have been unsuccessful with this, and have boiled the code down to lighting an LED when the receive buffer is full. However, I cannot get this to work either.
I have been working on this for months with little progress, so any help will be greatly appreciated. Attached is my source code (CANplusLED.txt) as well as the Can.txt file that Application Maestro generated.
Best,
JB
View attachment CANplusLED.txtView attachment Can.txt
I am writing code for a PIC18f2580 that interfaces with an already present CAN bus. To begin, I desire the controller to light an LED when a specific address is read. When I can prove to myself that this works, the data will be sent over USART.
I have been unsuccessful with this, and have boiled the code down to lighting an LED when the receive buffer is full. However, I cannot get this to work either.
I have been working on this for months with little progress, so any help will be greatly appreciated. Attached is my source code (CANplusLED.txt) as well as the Can.txt file that Application Maestro generated.
Best,
JB
View attachment CANplusLED.txtView attachment Can.txt