Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Joystick by
Revision 1:6192a5f69227, committed 2017-03-02
- Comitter:
- el16ecb
- Date:
- Thu Mar 02 09:57:21 2017 +0000
- Parent:
- 0:649b59b2fb26
- Commit message:
Changed in this revision
| Joystick.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Joystick.cpp Tue Feb 07 13:01:48 2017 +0000
+++ b/Joystick.cpp Thu Mar 02 09:57:21 2017 +0000
@@ -21,7 +21,7 @@
// is connected to +3V3 so we read 1 when pressed and 0 when not pressed
click->mode(PullDown);
// we therefore need to fire the interrupt on a rising edge
- click->rise(callback(this,&Joystick::click_isr));
+// click->rise(callback(this,&Joystick::click_isr));
// need to use a callback since mbed-os5 - basically tells it to look in this class for the ISR
_click_flag = 0;
