Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 53bf894

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 137d20b commit 53bf894

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎variants/twinaiot/pins_arduino.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
#define USB_VID 0x303a
88
#define USB_PID 0x1001
99

10-
1110
#define RGB_PIN 15
1211

1312
static const uint8_t LED_BUILTIN = 35;
1413
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1514
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
1615
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbLedWrite()
17-
#define RGB_BUILTIN RGB_PIN
16+
#define RGB_BUILTIN RGB_PIN
1817

1918
static const uint8_t TX = 39;
2019
static const uint8_t RX = 40;
@@ -33,8 +32,8 @@ static const uint8_t D10_OUT_PIN = 10;
3332

3433
static const uint8_t TOUCH_PIN = 13;
3534

36-
static const uint8_t TRIG_PIN = 5; // GPIO connected to HC-SR04 TRIG
37-
static const uint8_t ECHO_PIN = 6; // GPIO connected to HC-SR04 ECHO
35+
static const uint8_t TRIG_PIN = 5; // GPIO connected to HC-SR04 TRIG
36+
static const uint8_t ECHO_PIN = 6; // GPIO connected to HC-SR04 ECHO
3837

3938
static const uint8_t latchPin = 34;
4039
static const uint8_t clockPin = 47;
@@ -52,4 +51,4 @@ static const uint8_t S1pin = 37;
5251
static const uint8_t S2pin = 38;
5352
static const uint8_t S3pin = 14;
5453

55-
#endif /* Pins_Arduino_h */
54+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /