diff --git a/Teensy_Continuity_Tester/Matrix_Decoder_3p2.ino b/Teensy_Continuity_Tester/Matrix_Decoder_3p2.ino index 1657e00..c624c75 100644 --- a/Teensy_Continuity_Tester/Matrix_Decoder_3p2.ino +++ b/Teensy_Continuity_Tester/Matrix_Decoder_3p2.ino @@ -1,5 +1,14 @@ -// -// This software is in the public domain. +/* + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ // It will determine how a laptop keyboard matrix is wired using a Teensy 3.2 on an FPC daughterboard. // Open an editor on a computer and load or create a file that lists every key // on the laptop keyboard that will be tested. Connect the FPC cable of the test keyboard @@ -25,7 +34,7 @@ // 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}; // -// Define maximum and minimum pin numbers that will be tested. If pin 34 is used by the keyboard, you must unsolder the Teensy LED. +// Define maximum and minimum pin numbers that will be tested. // max_pin is usually set to the FPC connector size. min_pin is usually set to 1. The routine will start testing at pin 1 and go up to the max pin size. // The max and min pin values can be adjusted to exclude testing the FPC traces at the edges if they are reported as shorted. An example would be if pin 1 // and pin 34 are both grounds. They will be reported as tied together but they are not needed by the key matrix. In this case, set the diff --git a/Teensy_Continuity_Tester/Matrix_Decoder_LC.ino b/Teensy_Continuity_Tester/Matrix_Decoder_LC.ino index 6d56e3e..11c5cae 100644 --- a/Teensy_Continuity_Tester/Matrix_Decoder_LC.ino +++ b/Teensy_Continuity_Tester/Matrix_Decoder_LC.ino @@ -1,5 +1,14 @@ -// -// This software is in the public domain. +/* + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ // It will determine how a laptop keyboard matrix is wired using a Teensy LC on an FPC daughterboard. // Open an editor on a computer and load or create a file that lists every key // on the laptop keyboard that will be tested. Connect the FPC cable of the test keyboard