-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now support both sonoff black and white boxes
- Loading branch information
Showing
14 changed files
with
131 additions
and
154 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
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
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 |
---|---|---|
@@ -1,10 +1,20 @@ | ||
// EFM8BB1LCK board | ||
#ifndef INC_EFM8BB1LCK_PINS_H_ | ||
#define INC_EFM8BB1LCK_PINS_H_ | ||
|
||
// EFM8BB1LCK board | ||
#define TDATA P0_0 | ||
|
||
#define LED P1_0 | ||
// error in UG377: EFM8BB1LCK Users Guide ?? | ||
// lists PCA0 and LED pin as the same | ||
#define LED P1_4 | ||
#define RDATA P1_3 | ||
#define BUZZER P1_6 | ||
|
||
#define DEBUG_PIN0 P1_5 | ||
#define DEBUG_PIN1 P1_6 | ||
// UART TX, RX routed to Port pins P0.4 and P0.5 | ||
#define UART_TX_PIN P0_4 | ||
#define UART_RX_PIN P0_5 | ||
|
||
// software uart | ||
#define SOFT_TX_PIN P1_5 | ||
|
||
#endif |
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.