Skip to content

Commit 3e7ae6f

Browse files
committed
Final touches for pre-release v2
1 parent 5a4b7cc commit 3e7ae6f

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

pcb/waku-ctl.PcbDoc

-365 KB
Binary file not shown.

pcb/waku-ctl.SchDoc

-70.5 KB
Binary file not shown.

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ build_flags =
3030
-DARDUINO_USB_MSC_ON_BOOT=0
3131
-DARDUINO_USB_DFU_ON_BOOT=0
3232
extra_scripts = pre:extra_script.py
33-
upload_port = COM27
33+
; upload_port = COM27

src/globals.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ std::map<int, int> m_CurrentFanPwmValues;
6060
// New Board pin layout
6161

6262
std::map<int, FanPinPair> PIN_FAN_MAP = {
63-
{0, {6, 7}},
64-
{1, {9, 10}},
65-
{2, {11, 12}},
66-
{3, {13, 14}}
63+
{0, {10, 14}},
64+
{1, {11, 21}},
65+
{2, {12, 47}},
66+
{3, {13, 48}}
6767
};
6868

6969

src/led_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ void SwapLedChannel(LedChannel channel, int led_strip_index) {
1313
uint8_t int_pin = (led_strip_index == 0) ? PIN_LED_EXT_CTRL_1 : PIN_LED_EXT_CTRL_2;
1414

1515
if (channel == LedChannel::Internal) {
16-
digitalWrite(int_pin, LOW);
17-
} else {
1816
digitalWrite(int_pin, HIGH);
17+
} else {
18+
digitalWrite(int_pin, LOW);
1919
}
2020
}
2121

src/pins.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ constexpr int8_t PIN_SCL = 17; // GPIO9 as I2C SCL
1717
constexpr int8_t PIN_OLED_RESET = -1; // Reset pin # (-1 if sharing Arduino reset pin)
1818

1919
// --- LED Pins ---
20-
constexpr uint8_t PIN_LED_HEADER_1 = 47; // LED header #1 Data
21-
constexpr uint8_t PIN_LED_HEADER_2 = 48; // LED header #2 Data
20+
constexpr uint8_t PIN_LED_HEADER_1 = 8; // LED header #1 Data
21+
constexpr uint8_t PIN_LED_HEADER_2 = 18; // LED header #2 Data
2222

23-
constexpr uint8_t PIN_LED_EXT_CTRL_1 = 35; // LED header #1 External Control | MUX A
24-
constexpr uint8_t PIN_LED_EXT_CTRL_2 = 36; // LED header #2 External Control | MUX B
23+
constexpr uint8_t PIN_LED_EXT_CTRL_1 = 1; // LED header #1 External Control | MUX A
24+
constexpr uint8_t PIN_LED_EXT_CTRL_2 = 2; // LED header #2 External Control | MUX B
2525

2626
// --- Fan Pins ---
2727
extern std::map<int, FanPinPair> PIN_FAN_MAP;

0 commit comments

Comments
 (0)