Giter VIP home page Giter VIP logo

8051-examples's Introduction

51单片机示例

目录

基础

  • Blink LED闪烁
  • Timer 使用定时器实现LED闪烁

通讯总线

  • SPI SPI总线协议
  • IIC IIC总线协议

常用模块

  • AT24C AT24Cxx是串行CMOS E2PROM
  • DHT22 温湿度传感器
  • DS1302 DS1302是由美国DALLAS公司推出的具有涓细电流充电能力的低功耗实时时钟芯片
  • HC-SR04 HC-SR04是一款超声测距模块
  • IR-NEC 解析NEC红外遥控协议
  • DS18B20 DS18B20是常用的数字温度传感器
  • NRF24L01 nRF24L01是由NORDIC生产的工作在2.4GHz~2.5GHz的ISM 频段的单片无线收发器芯片
  • OLED 0.96寸OLED模块,主控是SSD1306
  • PCF8563 PCF8563是PHILIPS公司推出的一款工业级内含I2C总线接口功能的具有极低功耗的多功能时钟/日历芯片
  • SG90 SG90舵机
  • TCS34725 TCS34725顏色傳感器
  • TM1637-4-Digit-Tube-Display 4位数码管显示模块

其他

暂未整理

推荐工具链

Tips

  • 如果你使用VSCode 和 C/C++插件,那么需要修改.vscode/c_cpp_properties.json文件中的includePathcompilerPath

  • 如果你使用的sdcc版本大于3.6,那么需要修改putchar方法的定义。

    Mar 1st, 2018: SDCC 3.7.0 released.

    Changed putchar() prototype from void putchar(char) to int putchar(int) to improve standard-compliance and allow error reporting.

8051-examples's People

Contributors

hungtcs avatar

Watchers

James Cloos 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.