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.
Dependencies: ros_lib_kinetic
Diff: LLComms.cpp
- Revision:
- 35:26d36418e369
- Parent:
- 34:54e9ebe9e87f
- Child:
- 38:8d36df9244e9
--- a/LLComms.cpp Mon Apr 15 15:12:51 2019 +0000
+++ b/LLComms.cpp Tue Jul 09 13:44:29 2019 +0000
@@ -4,7 +4,7 @@
LLComms::LLComms() :
queue(32 * EVENTS_EVENT_SIZE), //32 //8 * EVENTS_EVENT_SIZE
- pinGate6(PE_11),
+ pinGate6(PB_4), //pinGate6(PE_11),
spi_0(PC_12, PC_11, PC_10),
spi_1(PF_9, PF_8, PF_7),
// These interrupt pins have to be declared AFTER SPI declaration. No Clue Why.
@@ -25,7 +25,8 @@
spi_1.format(16,2);
spi_1.frequency(LOW_LEVEL_SPI_FREQUENCY);
- PinName LLPins[8] = {PD_15, PE_10, PD_11, PD_14, PE_7, PB_1, PF_10, PD_13};
+ //PinName LLPins[8] = {PD_15, PE_10, PD_11, PD_14, PE_7, PB_1, PF_10, PD_13};
+ PinName LLPins[8] = {PD_15, PE_10, PD_11, PD_14, PE_7, PB_1, PB_12, PD_13};
//PinName LLPins[8] = {PD_15, PE_10, PD_11, PD_14, PE_7, PD_12, PF_10, PD_13};
//PinName ADCPins[8] = {PG_12, PG_9, PE_1, PG_0, PD_0, PD_1, PF_0, PF_1};
for (short int i = 0; i < 8; i++) {