Libraries and Example of mbed parallel bus using I2C port expanders
Dependencies: HDSP253X mbed PCF8574_Bus
Diff: Testloop.h
- Revision:
- 5:38b853bb1afa
- Parent:
- 4:745fbbd5e4e5
--- a/Testloop.h Tue Aug 23 20:26:05 2011 +0000 +++ b/Testloop.h Fri Aug 26 20:35:11 2011 +0000 @@ -59,6 +59,9 @@ show_LEDS(); show_menu(); +//make sure we see something + LF28A_status.set_brightness(BRT_MED); + while(running) { if(pc.readable()) { @@ -316,8 +319,8 @@ wait(0.5); LF28A_status.set_brightness(BRT_MED); wait(0.5); - LF28A_status.set_brightness(BRT_HIGH); - wait(0.5); +// LF28A_status.set_brightness(BRT_HIGH); +// wait(0.5); LF28A_status.set_brightness(BRT_OFF); wait(0.5); } @@ -441,7 +444,8 @@ case 'N' : pc.printf("Test STANAG\r"); - + + STANAG_codes.setDigitIdx(0); pc.printf("Code = %04d; CodeIdx=%d; DigitIdx=%d;\r", STANAG_codes.getCode(), STANAG_codes.getCodeIdx(), STANAG_codes.getDigitIdx() ); LF28A_display.locate (0);