-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6742f1a
commit 473d5f8
Showing
4 changed files
with
20 additions
and
17 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
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,12 @@ | ||
#pragma once | ||
|
||
namespace Pins | ||
{ | ||
// Pin connections: | ||
// ESP32 GPIO18 -> MAXRS485 RO (Receiver Output) | ||
// ESP32 GPIO19 -> MAXRS485 DI (Driver Input) | ||
// ESP32 GPIO21 -> MAXRS485 DE+RE | ||
constexpr uint8_t PinRX = GPIO_NUM_18; | ||
constexpr uint8_t PinTX = GPIO_NUM_19; | ||
constexpr uint8_t PinRTS = GPIO_NUM_21; | ||
}; |
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