Brian Moloney
/
Brian_Lab_Q_2_1
IT Tralee experiment
Diff: main.cpp
- Revision:
- 1:651ffd5a25c0
- Parent:
- 0:c6cc8dea2f4d
diff -r c6cc8dea2f4d -r 651ffd5a25c0 main.cpp --- a/main.cpp Sun Jul 26 11:47:10 2020 +0000 +++ b/main.cpp Sun Jul 26 11:55:18 2020 +0000 @@ -12,14 +12,14 @@ if((c == 'u') && (brightness < 0.5)) { brightness += 0.01; led = brightness; - pc.putc('^');//Extra code returns the character '^' on the pc interface + } if((c == 'd') && (brightness > 0.0)) { brightness -= 0.01; led = brightness; - pc.putc('v');//Extra code returns the character 'v' on the pc interface + } } } \ No newline at end of file