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.
Dependencies: DebounceIn USBDevice mbed
Fork of idd_fall15_hw2_psddtgb_PushButtonTextEntry by
Revision 1:80def904a1b8, committed 2015-09-14
- Comitter:
- psddtgb
- Date:
- Mon Sep 14 20:00:35 2015 +0000
- Parent:
- 0:891a320d6d46
- Commit message:
- hw2
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Sep 14 00:53:13 2015 +0000 +++ b/main.cpp Mon Sep 14 20:00:35 2015 +0000 @@ -20,8 +20,6 @@ int main() { -//int old_pb=0; -//int new_pb; int m = 1; ledr = 1; ledg = 1; @@ -40,9 +38,6 @@ // Delay for initial pullup to take effect wait(.001); while(1) { - //new_pb = pb; - //if ((new_pb==0) && (old_pb==1)) ledr = 1; - //old_pb = new_pb; if (m==1 && pbm==0) { m=2; ledr=0;