GithubHelp home page GithubHelp logo

zk-hi / simple_vl53l0x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wmdscjhdpy/simple_vl53l0x

0.0 0.0 0.0 90 KB

a simple VL53L0X library for STM32,or easily use on other microcontroller

License: GNU General Public License v3.0

C 100.00%

simple_vl53l0x's Introduction

#智障型激光传感器例程库 By WMD 到底有多智障呢...封装后只有两个函数:VL53L0X_Init() 和 VL53L0X_GetValue() 估计用法不必多说 默认的初始化方式为:循环读取 最大功率 保持默认地址 直接GetValue就是距离了

##移植时需要注意的地方

  • 在读取数据的时候是处于轮询状态的 所以会用到一个延时函数 请把VL53L0X_PollingDelay()函数替换为自己的延时函数 默认的为CMSIS_OS标准的延时函数
  • IIC使用的是模拟IIC,在ST_I2C.h中有涉及IO操作的函数 请自行替换为自己工程中的IO操作函数
  • 实测读取一次需要的时间是30-60ms

##我正在努力的学习中 大家不要嫌弃代码太烂... ##My Github

simple_vl53l0x's People

Contributors

wmdscjhdpy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.