久久久久久久999_99精品久久精品一区二区爱城_成人欧美一区二区三区在线播放_国产精品日本一区二区不卡视频_国产午夜视频_欧美精品在线观看免费

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 2916|回復: 0
打印 上一主題 下一主題
收起左側

BASCOM-AVR利用AVR-DOS庫讀寫SD卡

[復制鏈接]
跳轉到指定樓層
樓主
ID:696930 發表于 2020-9-14 11:11 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
試驗了用BASCOM讀寫SD卡,完全可以把SD卡當作磁盤來操作,與VB/QB語法兼容,編程非常簡單。

  AVR-DOS介紹
  Features:
           ·  Read and writeASCII-Files
·  Read and writeBinary-Files
·  Drivers available forCompact Flash Cards, Hard disk, MMC, SD etc.
·  Completly integrated inBASCOM-AVR Compiler
·  QB/VB compatible syntax
·  Completly written inAVR-Assembler (fast and compact)
  It workswith:
           ·  DOS-FAT16 and FAT32 formatted partitions
·  Files in Root directory and sub directories
·  Short DOS File names (8.3)
·  Sector Size of 512 Bytes(nearly all CF-Cards and HD)
·  Linear sector addressing(LBA-Mode). (all newer CF-Cards and HD). C/H/S-Mode of old HD is not supported.
  
  Please note: AVR-DOS is only free for noncommercial use. For commercial use, or when you are interested in ASM-Code andcomplete documentation please check Licensedirectives

  Functions:
  Hereis a list of all in BASCOM-AVR integrated statements, which uses AVR-DOSfunctionality.

  Disk/Directory:
            ·  InitFileSystem (<Partition#>)
·  DiskSize
·  DiskFree
·  Kill <FileName>
·  Dir ([ <FileName>])
·  FileLen ([ <FileName> ])
·  FileDateTime ([ <FileName>])
·  FileDate ([ <FileName>])
·  FileTime ([ <FileName>])
·  GetAttr ([ <FileName>])   
·  Name<OldFileName>As <NewFileName>   
·  ChDir<PathName>])   
·  MkDir<PathName>])   
·  RmDir<PathName>])   
  File create, open, read, write, close:
           ·  FreeFile
·  Open <FileName> ForInput/Output/Append/Binary as #<File#>
·  Close <File#>
·  Flush [<File#>]
·  Print #<File#>,Variable1; Variable2; …
·  Write #<File#>,Variable1, Variable2, …
·  Input #<File#>,Variable1, Variable2, …
·  Line Input #<File#>,StringVariable
·  Get #<File#>,<Variable> [,<Position>]
·  Put #<File#>,<Variable> [,<Position>]
·  Seek #<File#>[,<New Position>]
  Infos about opened files:
            ·  EOF (#<File#>)
·  LOC (#<File#>)
·  LOF (#<File#>)
·  FileAttr (#<File#>)
  Others:
            ·  Bload <FileName>,<SRAM-Address>
·  Bsave <FileName>,<SRAM-Address>, <Length>

CONFIG_AVR-DOS.zip

3.23 KB, 下載次數: 4, 下載積分: 黑幣 -5

Config_MMC.zip

1.61 KB, 下載次數: 4, 下載積分: 黑幣 -5

SD-M32.zip

1.21 KB, 下載次數: 5, 下載積分: 黑幣 -5

評分

參與人數 1黑幣 +50 收起 理由
admin + 50 共享資料的黑幣獎勵!

查看全部評分

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏1 分享淘帖 頂 踩
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表
主站蜘蛛池模板: 韩日有码| 中文字幕第一页在线 | 在线观看a视频 | 国产激情| 久久久久国产一区二区三区 | 五月婷婷丁香 | 男人天堂久久 | 高清欧美性猛交 | 亚洲九九| 黄色一级在线播放 | 久久精品视频一区二区三区 | 在线观看www视频 | 97久久久 | 欧美日韩成人一区二区 | 国产精品一区二区精品 | 午夜丰满寂寞少妇精品 | 中文无码日韩欧 | 国产精品毛片一区二区在线看 | 在线观看www高清视频 | 久久久久高清 | 久久国产精品免费一区二区三区 | 亚洲精品一区二区冲田杏梨 | 91欧美激情一区二区三区成人 | 久久视频免费看 | 国产欧美精品一区 | 视频一区二区在线观看 | 日韩高清中文字幕 | 日韩毛片网 | 欧美一级欧美三级在线观看 | 精品国产乱码久久久久久闺蜜 | 91观看 | 久久精品aaa | 亚洲一区二区在线播放 | 国产成人精品一区二 | 在线观看视频h | 久久88 | 激情久久网 | 天天干b | 久久综合久久自在自线精品自 | 欧美午夜一区 | 国产高清在线视频 |