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: mbed
Fork of Lab_6_WaG by
Diff: main.cpp
- Revision:
- 40:4e82369f337c
- Parent:
- 39:abf211b17e3c
- Child:
- 41:9b293b14b845
--- a/main.cpp Fri Mar 23 20:16:24 2018 +0000
+++ b/main.cpp Fri Mar 23 21:24:26 2018 +0000
@@ -46,9 +46,6 @@
int main(void) {
initial_setup(as1107);
- char bcd[4];
- char input;
- int display_number;
//set all digits to zero
spi_send(as1107, 0x0100);
@@ -57,6 +54,10 @@
spi_send(as1107, 0x0400);
pc.printf("Press user button to test.\n");
- test_target_leds();
- pc.printf("LED's tested");
+
+ //test_target_leds();
+ //pc.printf("LED's tested");
+
+ test_phototransistors();
+ pc.printf("Phototransistors tested");
}
\ No newline at end of file
