Dwayne Dilbeck
/
HW2_2_LCD_POT_VALUES
Homework#2 Problem#2
Fork of Bootcamp-fatal-error-pot by
Revision 2:a808561b7b9b, committed 2013-07-17
- Comitter:
- jakowisp
- Date:
- Wed Jul 17 01:53:46 2013 +0000
- Parent:
- 1:b0f34fae61a5
- Commit message:
- USB Device Interface: Architecture, Protocols,and Programming:; Homework#2 Problem #2
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b0f34fae61a5 -r a808561b7b9b main.cpp --- a/main.cpp Thu Jun 27 07:13:41 2013 +0000 +++ b/main.cpp Wed Jul 17 01:53:46 2013 +0000 @@ -8,10 +8,11 @@ C12832_LCD lcd; int main() { + while(potA < 0.999 && potB < 0.999) { lcd.cls(); lcd.locate(0,3); - lcd.printf("Pot A,%d, %d\n", potA.read_u16(),potB.read_u16()); + lcd.printf("Pot A:%d, Pot B:%d\n", potA.read_u16(),potB.read_u16()); wait(0.1); } lcd.cls();