Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add pins A14-A17 to Teensy 4.1 #61

Merged
merged 1 commit into from
Jun 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ADC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ const uint8_t ADC::channel2sc1aADC0[] = {
// new version, gives directly the sc1a number. 0x1F=31 deactivates the ADC.
7, 8, 12, 11, 6, 5, 15, 0, 13, 14, 1, 2, 31, 31, // 0-13, we treat them as A0-A13
7, 8, 12, 11, 6, 5, 15, 0, 13, 14, // 14-23 (A0-A9)
1, 2, 31, 31, 31, 31, 9, 10 // A10-A17
1, 2, 31, 31, // A10, A11, A12, A13
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, //
31, 31, 9, 10 // A14, A15, A16, A17
};
#endif // defined

Expand Down Expand Up @@ -154,7 +156,9 @@ const uint8_t ADC::channel2sc1aADC1[] = {
// new version, gives directly the sc1a number. 0x1F=31 deactivates the ADC.
7, 8, 12, 11, 6, 5, 15, 0, 13, 14, 31, 31, 3, 4, // 0-13, we treat them as A0-A13
7, 8, 12, 11, 6, 5, 15, 0, 13, 14, // 14-23 (A0-A9)
31, 31, 3, 4, 1, 2, 9, 10 // A10-A17
31, 31, 3, 4, // A10, A11, A12, A13
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, //
1, 2, 9, 10 // A14, A15, A16, A17
};
#endif

Expand Down
Loading