![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: debug.cpp
- Revision:
- 7:019b08223b87
- Parent:
- 1:a1758104fa1d
- Child:
- 8:e3bfe62a477e
diff -r a10de9926fbe -r 019b08223b87 debug.cpp --- a/debug.cpp Fri Sep 12 16:46:37 2014 +0000 +++ b/debug.cpp Sat Sep 13 19:21:48 2014 +0000 @@ -12,4 +12,11 @@ memcpy( debug_msg1+5, pkg, size ); debug_msg1[ 4 ] = i++; debug.sendTo( debug_server, debug_msg1, size+5 ); +} + +void debug_32( uint8_t * pkg ){ + pc.printf( "Rx :: " ); + for( register int i = 0; i < 32; i++ ) + pc.printf( "%x ", pkg[ i ] ); + pc.printf( "\n\r" ); } \ No newline at end of file