Skip to content

Navigation Menu

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

Appearance settings

Commit 781b873

Browse filesBrowse files
committed
define analog pins
1 parent e29b91d commit 781b873
Copy full SHA for 781b873

File tree

2 files changed

+15
-0
lines changed
Filter options

2 files changed

+15
-0
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111
- `Logger` class to centralize CI runner script logging (in particular, indentation)
1212
- Explicit reporting of free bytes after compilation
1313
- `interrupt.h` mock
14+
- `#define` statements for analog pins `A0` - `A11`
1415

1516
### Changed
1617
- `arduino_ci.rb` uses new `Logger`

‎cpp/arduino/ArduinoDefines.h

Copy file name to clipboardExpand all lines: cpp/arduino/ArduinoDefines.h
+14
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,20 @@
9292
#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega328__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__)
9393
// Verified on these platforms, see https://github.com/Arduino-CI/arduino_ci/pull/341#issuecomment-1368118880
9494
#define LED_BUILTIN 13
95+
96+
#define A0 14
97+
#define A1 15
98+
#define A2 16
99+
#define A3 17
100+
#define A4 18
101+
#define A5 19
102+
#define A6 20
103+
#define A7 21
104+
#define A8 22
105+
#define A9 23
106+
#define A10 24
107+
#define A11 25
108+
95109
#endif
96110

97111
// Arduino defines this

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.