There was a small bug in the spelling of your library's method. I hope you accept this request. Sorry for the inconveniences and thanks for your library -- I'm just starting to use this platform. Greetings.
Fork of TouchButton by
TouchButton.h@1:5eb472334273, 2015-03-23 (annotated)
- Committer:
- taghoter
- Date:
- Mon Mar 23 20:53:19 2015 +0000
- Revision:
- 1:5eb472334273
- Parent:
- 0:2afd6e977c5b
PresedButton -> PressedButton
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
virajjayaweera | 0:2afd6e977c5b | 1 | /* Authour: P. V. V. jayaweera |
virajjayaweera | 0:2afd6e977c5b | 2 | * July 13 2013 |
virajjayaweera | 0:2afd6e977c5b | 3 | |
virajjayaweera | 0:2afd6e977c5b | 4 | |
virajjayaweera | 0:2afd6e977c5b | 5 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
virajjayaweera | 0:2afd6e977c5b | 6 | * and associated documentation files (the "Software"), to deal in the Software without |
virajjayaweera | 0:2afd6e977c5b | 7 | * restriction, including without limitation the rights to use, copy, modify, merge, publish, |
virajjayaweera | 0:2afd6e977c5b | 8 | * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the |
virajjayaweera | 0:2afd6e977c5b | 9 | * Software is furnished to do so, subject to the following conditions: |
virajjayaweera | 0:2afd6e977c5b | 10 | * |
virajjayaweera | 0:2afd6e977c5b | 11 | * The above copyright notice and this permission notice shall be included in all copies or |
virajjayaweera | 0:2afd6e977c5b | 12 | * substantial portions of the Software. |
virajjayaweera | 0:2afd6e977c5b | 13 | * |
virajjayaweera | 0:2afd6e977c5b | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
virajjayaweera | 0:2afd6e977c5b | 15 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
virajjayaweera | 0:2afd6e977c5b | 16 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
virajjayaweera | 0:2afd6e977c5b | 17 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
virajjayaweera | 0:2afd6e977c5b | 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
virajjayaweera | 0:2afd6e977c5b | 19 | */ |
virajjayaweera | 0:2afd6e977c5b | 20 | |
virajjayaweera | 0:2afd6e977c5b | 21 | |
virajjayaweera | 0:2afd6e977c5b | 22 | class TouchButton { |
virajjayaweera | 0:2afd6e977c5b | 23 | public: |
virajjayaweera | 0:2afd6e977c5b | 24 | |
virajjayaweera | 0:2afd6e977c5b | 25 | /** FRDM-KL25Z touch slider is divided in to 4 parts (assuming 1cm by 1cm buttons) |
virajjayaweera | 0:2afd6e977c5b | 26 | * Read the pressed button number |
virajjayaweera | 0:2afd6e977c5b | 27 | * |
virajjayaweera | 0:2afd6e977c5b | 28 | */ |
taghoter | 1:5eb472334273 | 29 | int PressedButton(void); |
virajjayaweera | 0:2afd6e977c5b | 30 | |
virajjayaweera | 0:2afd6e977c5b | 31 | |
virajjayaweera | 0:2afd6e977c5b | 32 | }; |