Git Product home page Git Product logo

c51's Introduction

C51

environment

注意:我把VSCode的语法错误提示屏蔽了,想要的删除.vscode的setting.json 注意,代码文件默认放在usr中 临时文件旺仔tmp中 编译器官方网站http://sdcc.sourceforge.net/ 下载地址https://sourceforge.net/projects/sdcc/files/ 选合适的版本就可以了,比如我https://sourceforge.net/projects/sdcc/files/sdcc-win64/3.8.0/sdcc-3.8.0-x64-setup.exe/download Firstly, install sdcc
例程网址https://www.pjrc.com/tech/8051/
Then configure the path file

为什么不使用MDK:
1、功能较弱
2、只适合个人和小团队开发,不适合中型、大型开发
3、是收费软件,需要付费

difference

exp

sdcc			keil

#include<8052.h>	#include<reg52.h>
#define pin P0_0	sbit pin=P0^0;
	
declare nvic function before use
reg 8052.h is different from reg52.h

c51's People

Contributors

haozewu 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.