-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(device name): Changed device name to include chip id
- Changed device name to include chip id - refactoring of several variable names to improve readability BREAKING CHANGE:
- Loading branch information
Showing
6 changed files
with
153 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/****************************************************************************** | ||
DucatiPanigaleCanBus: monitor CANBUS messages and report them to HLT | ||
More info at https://github.com/renatobo/DucatiPanigaleCanBus | ||
Renato Bonomini https://github.com/renatobo | ||
******************************************************************************/ | ||
|
||
// Define PINS used for interfaces here | ||
|
||
/* ------- Status LED --------- */ | ||
// Define LED_STATUS to the pin used to show status of the system: | ||
// - 1 sec frequency on/off: regular activity | ||
// - fading light: CAN connection error, waiting to retry | ||
// Standard configuration: we flip status of LED_BUILTIN to show the main loop is active | ||
// You can decide to have the | ||
#ifdef ARDUINO_LOLIN_D32_PRO | ||
#define LED_STATUS GPIO_NUM_5 | ||
#else | ||
#define LED_STATUS GPIO_NUM_2 | ||
#endif | ||
|
||
/* ------- CANBUS transceiver RX and TX pins --------- */ | ||
// You can use any PIN because | ||
#define TX_GPIO_NUM GPIO_NUM_21 | ||
#define RX_GPIO_NUM GPIO_NUM_22 | ||
|
||
/* end of file */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.