Skip to content

Commit

Permalink
Merge pull request #61 from pedvide/add_teensy41_extra_pins
Browse files Browse the repository at this point in the history
Add pins A14-A17 to Teensy 4.1
  • Loading branch information
pedvide authored Jun 14, 2020
2 parents 26b5b35 + a4f468c commit 4b3b250
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 296 deletions.
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

0 comments on commit 4b3b250

Please sign in to comment.