芯片使用51+ch375,程序用180行C代码就能够读取FAT16文件系统U盘的根目录,可以看到根目录下的文件名,并可显示首文件内容-chips use 51 ch375, procedures using 180 OK C code can read FAT16 file system drives the root directory, we can see the root directory under the file name, would show the contents of the documents first
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001054s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.065930s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001178s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001192s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001288s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003171s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000887s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003816s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015838s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001870s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 126366 [ RunTime:0.016046s ]