Ika Shouyu Poppoyaki - LPC82x supported

Dependencies:   MODSERIAL mbed

Fork of ika_shouyu_poppoyaki by Tedd OKANO

Revision:
13:60995bf8b2c7
Parent:
12:5a33b5d39792
Child:
14:a7b9f74fb856
--- a/main.cpp	Tue Aug 27 05:47:02 2013 +0000
+++ b/main.cpp	Wed Aug 28 05:07:22 2013 +0000
@@ -139,10 +139,12 @@
 void reset_target( int isp_pin_state )
 {
     reset_pin   = 1;
-    isp_pin = 0;
+    isp_pin     = isp_pin_state;
     wait_ms( 100 );
+    
     reset_pin   = 0;
     wait_ms( 100 );
+    
     reset_pin   = 1;
     wait_ms( 100 );
 }
@@ -277,7 +279,7 @@
 
             checksum   += bin2uue( b + (i * BYTES_PER_LINE), command_str, i == (lines_per_transfer - 1) ? (transfer_size % BYTES_PER_LINE) : BYTES_PER_LINE );
 
-//            printf( "  data -- %02d %s\r", i, command_str );
+            //  printf( "  data -- %02d %s\r", i, command_str );
 
             put_string( command_str );