Projets
Voir sur GitHub
hungtcs-lab/8051-examples
À propos
基于SDCC编译器的8051单片机示例
Langages et environnements d’exécutionProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original51单片机示例
目录
常用模块
- 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位数码管显示模块
其他
暂未整理
推荐工具链
sdccsmall device C compilercutecomGUI串口调试器stcflashA command line programmer for STC 8051 microcontrollerVisual Studio Code编辑器,推荐安装以下插件- C/C++ language support for C/C++ to Visual Studio Code
- Doxygen Documentation Generator Doxygen Documentation generation on the fly by starting a Doxygen comment block and pressing enter
- EditorConfig for VS Code
Tips
如果你使用VSCode 和
C/C++插件,那么需要修改.vscode/c_cpp_properties.json文件中的includePath和compilerPath。如果你使用的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.
Explorer des projets similaires
Chargement…