mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
match changes to other nrf52 boards, add pin definitions to platformio.ini
This commit is contained in:
parent
f671b753da
commit
6a78cfd00d
2 changed files with 6 additions and 3 deletions
|
|
@ -18,10 +18,10 @@ void faketecBoard::begin() {
|
|||
#endif
|
||||
|
||||
#if defined(PIN_BOARD_SDA) && defined(PIN_BOARD_SCL)
|
||||
Wire.begin(PIN_BOARD_SDA, PIN_BOARD_SCL);
|
||||
#else
|
||||
Wire.begin();
|
||||
Wire.setPins(PIN_BOARD_SDA, PIN_BOARD_SCL);
|
||||
#endif
|
||||
|
||||
Wire.begin();
|
||||
|
||||
pinMode(SX126X_POWER_EN, OUTPUT);
|
||||
digitalWrite(SX126X_POWER_EN, HIGH);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue