Add files via upload
This commit is contained in:
parent
ab1736e8e4
commit
ad1786fb2d
3 changed files with 6 additions and 6 deletions
|
@ -29,7 +29,7 @@
|
|||
//
|
||||
// Revision History
|
||||
// Rev 1.00 - Nov 18, 2018 - Original Release
|
||||
//
|
||||
// Rev 1.1 - April 19, 2020 - Use min_pin in bottom up loop
|
||||
//
|
||||
// Load an array with the Teensy 3.2 I/O numbers that correspond to FPC pins 1 thru 34.
|
||||
int con_pin[] = {23, 0, 22, 1, 21, 2, 20, 3, 19, 4, 18, 5, 17, 6, 24, 7, 25, 8, 33, 9, 26, 10, 27, 11, 28, 12, 32, 31, 30, 29, 16, 15, 14, 13};
|
||||
|
@ -333,7 +333,7 @@ void loop() {
|
|||
//
|
||||
// ***********Bottom up Test************
|
||||
//
|
||||
for (int i=0; i<max_pin-1; i++) { // outer loop pin
|
||||
for (int i=min_pin-1; i<max_pin-1; i++) { // outer loop pin (min_pin-1 is typically = 0)
|
||||
go_0(con_pin[i]); // make the outer loop pin an output and send this pin low
|
||||
for (int j=i+1; j<max_pin; j++) { // inner loop pin
|
||||
delayMicroseconds(10); // give time to let the signals settle out
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
//
|
||||
// Revision History
|
||||
// Rev 1.00 - Feb 25, 2020 - Original Release
|
||||
//
|
||||
// Rev 1.1 - April 19, 2020 - Use min_pin in bottom up loop
|
||||
//
|
||||
// Load an array with the Teensy 4.0 I/O numbers that correspond to FPC pins 1 thru 34.
|
||||
int con_pin[] = {23, 0, 22, 1, 21, 2, 20, 3, 19, 4, 18, 5, 17, 6, 29, 7, 31, 8, 33, 9, 32, 10, 30, 11, 28, 12, 27, 26, 25, 24, 16, 15, 14, 13};
|
||||
|
@ -333,7 +333,7 @@ void loop() {
|
|||
//
|
||||
// ***********Bottom up Test************
|
||||
//
|
||||
for (int i=0; i<max_pin-1; i++) { // outer loop pin
|
||||
for (int i=min_pin-1; i<max_pin-1; i++) { // outer loop pin (min_pin-1 is typically = 0)
|
||||
go_0(con_pin[i]); // make the outer loop pin an output and send this pin low
|
||||
for (int j=i+1; j<max_pin; j++) { // inner loop pin
|
||||
delayMicroseconds(10); // give time to let the signals settle out
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
//
|
||||
// Revision History
|
||||
// Rev 1.00 - Nov 18, 2018 - Original Release
|
||||
//
|
||||
// Rev 1.1 - April 19, 2020 - Use min_pin in bottom up loop
|
||||
//
|
||||
// Load an array with the Teensy LC I/O numbers that correspond to FPC pins 1 thru 26.
|
||||
int con_pin[] = {23, 0, 22, 1, 24, 2, 21, 3, 25, 4, 20, 5, 19, 6, 18, 7, 17, 8, 16, 9, 15, 10, 14, 11, 26, 12}; // I/O 13 is for the LED
|
||||
|
@ -331,7 +331,7 @@ void loop() {
|
|||
//
|
||||
// ***********Bottom up Test************
|
||||
//
|
||||
for (int i=0; i<max_pin-1; i++) { // outer loop pin
|
||||
for (int i=min_pin-1; i<max_pin-1; i++) { // outer loop pin (min_pin-1 is typically = 0)
|
||||
go_0(con_pin[i]); // make the outer loop pin an output and send this pin low
|
||||
for (int j=i+1; j<max_pin; j++) { // inner loop pin
|
||||
delayMicroseconds(10); // give time to let the signals settle out
|
||||
|
|
Loading…
Reference in a new issue