Dwayne Dilbeck
/
HW2_2_LCD_POT_VALUES
Homework#2 Problem#2
Fork of Bootcamp-fatal-error-pot by
Diff: main.cpp
- Revision:
- 2:a808561b7b9b
- Parent:
- 1:b0f34fae61a5
--- 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();