# ext2-ul-milliSmicros **Repository Path**: mind-plus/ext2-ul-milliSmicros ## Basic Information - **Project Name**: ext2-ul-milliSmicros - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-08-31 - **Last Updated**: 2026-09-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: MindPlus-Ext2 ## README # 毫秒微秒 ![cover](extension/public/cover.png) `毫秒微秒` 是一个适用于 Mind+ V2 上传模式的功能类扩展。 该扩展支持以秒、毫秒、微秒为单位进行精确延时和获取系统运行时间等功能,可用于精确计时、程序耗时测量等应用场景。 ## 积木 扩展提供的主要积木如下: |类型|积木功能| |---|---| |命令|延时指定时间(单位可选秒、毫秒、微秒)| |数值|获取系统运行时间(单位可选秒、毫秒、微秒)| ## 示例程序 以下为扩展的基础使用示例: > 注意:以下步骤仅根据现有积木定义和生成代码整理,尚未经过真实硬件测试,仅供参考,不代表已验证可用。 1. 使用“延时”积木填入延时数值并选择时间单位(秒、毫秒或微秒),让程序等待指定时间。 2. 使用“系统运行时间”积木选择时间单位,获取开机以来经过的时间。 3. 在程序执行前后分别读取系统运行时间并作差,可测量某段程序或事件的耗时。 ## 支持列表 |主板型号|实时模式|ArduinoC|MicroPython|备注| |---|:---:|:---:|:---:|---| |dev-DFRobot-microbitV2||✓||上传模式| |dev-DFRobot-arduinoLeonardo||||| |dev-DFRobot-arduinoUno||✓||上传模式| |dev-DFRobot-arduinoNano||||| |dev-DFRobot-handpyEsp32||✓||上传模式| |dev-DFRobot-arduinoMega2560||||| |dev-DFRobot-firebeetleEsp32||||| |dev-DFRobot-firebeetleEsp32E||||| |dev-DFRobot-unihikerK10||||| ## 更新日志 ### V0.0.2 - 扩展库迁移 ## 开发指南 更详细的 Mind+ V2 扩展开发说明请参考:[Mind+官方扩展开发文档](https://mindplus.dfrobot.com.cn/mp2/Extensions/) ## V1 原始库来源 本库迁移自 Mind+ V1(1.x)用户库,保留 `compatibilityId` 字段以兼容旧版工程。 - compatibilityId:`deng-millismicros-thirdex` - 原作者:deng - 原始仓库:https://gitee.com/onereal/mindpus-blocks