Add to 11U68 11E68
Dependencies: DirectoryList MODSERIAL mbed
Fork of ika_shouyu_poppoyaki by
Diff: main.cpp
- Revision:
- 31:1a4d59d7bd72
- Parent:
- 30:e0d7524661ca
- Child:
- 34:eaca33d3e632
--- a/main.cpp Fri Sep 20 02:21:58 2013 +0000 +++ b/main.cpp Fri Sep 20 02:26:57 2013 +0000 @@ -48,19 +48,16 @@ error( " ** ISP failed\r\n" ); #ifdef AUTO_PROGRAM_START - //set_target_baud_rate( TARGET_OPERATION_BAUD_RATE ); - //reset_target( NO_ISP_MODE ); - + start_target_in_normal_mode( TARGET_OPERATION_BAUD_RATE ); printf( " ** The program in flash has been started!!\r\n" ); + #endif printf( " (now the mbed is working in \"serial through mode\")\r\n\r\n" ); - -// success.attach( &success_indicator, 0.1 ); + start_success_indicator(); - usb_serial_bridge_operation(); // doesn't return. infinite loop in this function }