keithkyle

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hi JColvin, Thank you. Did the edit. Now, for the next stack of errors: C:\mpide-0150\.\hardware\pic32\libraries\CanBus\mcp2515.c: In function 'spi_putc': C:\mpide-0150\.\hardware\pic32\libraries\CanBus\mcp2515.c:53:2: error: 'SPDR' undeclared (first use in this function) C:\mpide-0150\.\hardware\pic32\libraries\CanBus\mcp2515.c:53:2: note: each undeclared identifier is reported only once for each function it appears in C:\mpide-0150\.\hardware\pic32\libraries\CanBus\mcp2515.c:56:12: error: 'SPSR' undeclared (first use in this function) C:\mpide-0150\.\hardware\pic32\libraries\CanBus\mcp2515.c
  2. Trying to compile demo from Sparkfun. It compiles properly with Arduino software. I'm new to Arduino. Not sure what I need to modify in the library. https://github.com/sparkfun/CAN-Bus_Shield Text from the demo code: "This example sketch works with the CAN-Bus shield from SparkFun Electronics. It enables the MCP2515 CAN controller and MCP2551 CAN-Bus driver, and demos using the chips to communicate with a CAN-Bus. Resources: Development environment specifics: Developed for Arduino 1.6.5 Based off of original example ecu_reader_logger by: Sukkin Pang SK Pang Electronics www.skpang.co.uk" Error