Add files via upload
This commit is contained in:
parent
bff4708358
commit
dfd6b1575b
1 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,15 @@
|
|||
// This software is in the public domain
|
||||
// It interfaces the Teensy 3.2 with a PS/2 touchpad found in an HP DV9000 laptop.
|
||||
/* Copyright 2018 Frank Adams
|
||||
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.
|
||||
*/
|
||||
// This software interfaces the Teensy 3.2 with a PS/2 touchpad found in an HP DV9000 laptop.
|
||||
// The PS/2 code was originally from https://playground.arduino.cc/uploads/ComponentLib/mouse.txt
|
||||
// but the interface to the PC was changed from RS232 serial to USB using the PJRC Mouse functions.
|
||||
// A watchdog timer was also added to the "while loops" so the code doesn't hang if the Teensy is
|
||||
|
@ -19,6 +29,7 @@
|
|||
// The ps/2 signals are at 5 volts from the touchpad to the Teensy which is 5 volt tolerant.
|
||||
// The ps/2 signals are at 3.3 volts from the Teensy to the touchpad which is enough to be a logic high.
|
||||
// In the Arduino IDE, select Tools, Teensy 3.2. Also under Tools, select Keyboard+Mouse+Joystick
|
||||
//
|
||||
// Revision History
|
||||
// Initial Release Nov 23, 2018
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue