Other Parts Discussed in Thread: CC1310
#if (WRITEENABLE)
Display_printf(display, 0, 0, "Writing the array...\n");
result = SD_write(sdHandle, textarray, STARTINGSECTOR, sectors); //SD卡写入数据
if (result != SD_STATUS_SUCCESS) {
Display_printf(display, 0, 0, "Error writing to the SD card\n");
while (1);
}
#endif
Display_printf(display, 0, 0, "Reading the array...\n");
result = SD_read(sdHandle, cpy_buff, STARTINGSECTOR, sectors); //SD卡读取数据
if (result != SD_STATUS_SUCCESS) {
Display_printf(display, 0, 0, "Error reading from the SD card\n");
while (1);
}
您好,我想问问在SDraw例程中SD_write和SD_read不可以同时运行么,怎样使他们同时运行