SEED CAN FORK
Fork of SEEED_CAN by
Revision 4:08e08d28444a, committed 2017-02-24
- Comitter:
- lightway
- Date:
- Fri Feb 24 05:20:43 2017 +0000
- Parent:
- 3:5006c41abab5
- Commit message:
- CAN Packet with function code definition
Changed in this revision
seeed_can.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5006c41abab5 -r 08e08d28444a seeed_can.h --- a/seeed_can.h Mon Jan 30 10:26:58 2017 +0000 +++ b/seeed_can.h Fri Feb 24 05:20:43 2017 +0000 @@ -80,7 +80,7 @@ SEEED_CAN(PinName ncs=SEEED_CAN_CS, PinName irq=SEEED_CAN_IRQ, PinName mosi=SEEED_CAN_MOSI, PinName miso=SEEED_CAN_MISO, PinName clk=SEEED_CAN_CLK, int spiBitrate=1000000); #elif defined __LPC17xx_H__ // defined in LPC17xx.h //SEEED_CAN(PinName ncs=p9, PinName irq=p10, PinName mosi=p11, PinName miso=p12, PinName clk=p13, int spiBitrate=1000000); - SEEED_CAN(PinName ncs=p9, PinName irq=p10, PinName mosi=p5, PinName miso=p6, PinName clk=p7, int spiBitrate=1000000); + SEEED_CAN(PinName ncs=p11, PinName irq=p12, PinName mosi=p5, PinName miso=p6, PinName clk=p7, int spiBitrate=1000000); #else // No default constructor for other... SEEED_CAN(PinName ncs, PinName irq, PinName mosi, PinName miso, PinName clk, int spiBitrate=1000000); #endif