Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SEEED_CAN by
Revision 4:5c9a071a4c07, committed 2017-03-10
- Comitter:
- lightway
- Date:
- Fri Mar 10 06:26:20 2017 +0000
- Parent:
- 3:5006c41abab5
- Commit message:
- Sample CAN message;
Changed in this revision
| seeed_can.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/seeed_can.h Mon Jan 30 10:26:58 2017 +0000
+++ b/seeed_can.h Fri Mar 10 06:26:20 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
