LPC824専用プログラム
Dependencies: Ping SDFileSystem mbed-src
Diff: format.cpp
- Revision:
- 5:afba6bf6c408
- Parent:
- 3:410a2812b0dc
- Child:
- 6:79dc74e4926a
--- a/format.cpp Mon Jan 11 17:44:52 2016 +0000 +++ b/format.cpp Tue Jan 12 14:15:17 2016 +0000 @@ -149,12 +149,12 @@ unsigned int command_high, command_low; unsigned int high_byte, low_byte; - uint8_t i; + //uint8_t i; //uint8_t packet, val, order; uint16_t ir_data[IC_NUM][CH_NUM]; - supply = 1; + supply = 0; ir.frequency(1000000); for(ic=0; ic<IC_NUM; ic++) cs[ic]=1; @@ -176,9 +176,9 @@ } } - for(i=0; i<8; i++){ - pc.printf("%d\n", ir_data[0][i]); - } + //for(i=0; i<8; i++){ + pc.printf("%d\t%d\t%d\t%d\t\r\n", ir_data[1][0], ir_data[1][1], ir_data[1][2], ir_data[1][3]); + //} /*while(1){ val = nucleo.receive(); if(val){