diff --git a/README.md b/README.md index 84aa09a..0aa1bb4 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ Recommended parts list: * ~22 AWG wires First, solder the male headers to your microcontroller board. -You'll need G, USB, SCK, MO, MI and 7. -It's also recommended to solder 9, R and 3V for future improvements and +You'll need G, 3V, SCK, MO, MI and 7. +It's also recommended to solder 9, R and USB for future improvements and mechanical stability on the breadboard. Soldering male headers is a lot easier if you first insert them into a breadboard. @@ -73,7 +73,7 @@ Check connections: MCP pin | Microcontroller pin ------- | ------------------ -VCC | USB +VCC | 3V GND | G CS | 7 SO | MI diff --git a/RaceChronoDiyBleDevice.ino b/RaceChronoDiyBleDevice.ino index f10dba6..96a4614 100644 --- a/RaceChronoDiyBleDevice.ino +++ b/RaceChronoDiyBleDevice.ino @@ -120,19 +120,18 @@ public: void *entry = pidMap.getEntryId(pid); if (entry != nullptr) { PidExtra *pidExtra = pidMap.getExtra(entry); + pidExtra->skippedUpdates = 0; + switch (pid) { case 0xD0: case 0xD1: pidExtra->updateRateDivider = 2; - pidExtra->skippedUpdates = 0; break; case 0x140: pidExtra->updateRateDivider = 4; - pidExtra->skippedUpdates = 0; break; case 0x360: pidExtra->updateRateDivider = 20; - pidExtra->skippedUpdates = 0; break; } } diff --git a/images/board_with_jumpers.jpg b/images/board_with_jumpers.jpg old mode 100755 new mode 100644 index 49154cc..a72d431 Binary files a/images/board_with_jumpers.jpg and b/images/board_with_jumpers.jpg differ diff --git a/images/ft86_hidden_can_connector.jpg b/images/ft86_hidden_can_connector.jpg index 5379465..9520060 100644 Binary files a/images/ft86_hidden_can_connector.jpg and b/images/ft86_hidden_can_connector.jpg differ diff --git a/images/ft86_socket_wiring.jpg b/images/ft86_socket_wiring.jpg index ff52b2c..58d21e2 100644 Binary files a/images/ft86_socket_wiring.jpg and b/images/ft86_socket_wiring.jpg differ diff --git a/images/mcp_mods_closeup.jpg b/images/mcp_mods_closeup.jpg index 05a9044..7c2bc79 100755 Binary files a/images/mcp_mods_closeup.jpg and b/images/mcp_mods_closeup.jpg differ diff --git a/images/nRF_on_board.jpg b/images/nRF_on_board.jpg old mode 100755 new mode 100644 index 7d6cb82..f714bd9 Binary files a/images/nRF_on_board.jpg and b/images/nRF_on_board.jpg differ diff --git a/images/overall.jpg b/images/overall.jpg index a333af2..19f7ed3 100755 Binary files a/images/overall.jpg and b/images/overall.jpg differ