Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2d6ed5f

Browse files
author
Neo G
committedOct 2, 2024
Bharat Pi Arduino libs
1 parent 84ddf0a commit 2d6ed5f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
 
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
static const uint8_t LED_BUILTIN = 2;
7+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
8+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
9+
10+
static const uint8_t SAFFRON_LED = 12;
11+
static const uint8_t WHITE_LED = 2;
12+
static const uint8_t GREEN_LED = 13;
13+
14+
static const uint8_t A0 = 14;
15+
static const uint8_t A1 = 13;
16+
static const uint8_t A2 = 12;
17+
static const uint8_t A3 = 4;
18+
static const uint8_t A4 = 2;
19+
static const uint8_t A5 = 0;
20+
21+
static const uint8_t TX = 1;
22+
static const uint8_t RX = 3;
23+
24+
static const uint8_t TX2 = 17;
25+
static const uint8_t RX2 = 16;
26+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)
Please sign in to comment.