cauqleuir madre
Dependencies: SDFileSystem mbed TFTLCD
Revision 17:3d7951357fd3, committed 2013-02-02
- Comitter:
- Danton
- Date:
- Sat Feb 02 00:38:55 2013 +0000
- Parent:
- 16:e7f9136d440f
- Child:
- 18:724eb70c757e
- Commit message:
- seek
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Feb 02 00:22:03 2013 +0000 +++ b/main.cpp Sat Feb 02 00:38:55 2013 +0000 @@ -12,6 +12,7 @@ } //fprintf(fp, "Hello fun SD Card World!\c\n"); //fread ( void * ptr, size_t size, size_t count, FILE * stream ); + fseek(fp, offset,SEEK_SET); fread((char*)buffer,1,100,fp); fclose(fp); @@ -48,7 +49,7 @@ printf("%x\n",bitmap[i]); i++; } - superDisplay(bitmap,0,"Whats the != between 1&2"); + superDisplay(bitmap,100,"Whats the != between 1&2"); printf("Goodbye World!\c\n"); } \ No newline at end of file