当前位置:网站首页>单片机第一步
单片机第一步
2022-07-30 05:46:00 【缘聚654】
点亮一个led
首先需要在keil中建立这个项目并编写代码,如下

然后在stc中选择正确的型号和串口,打开之前keil建立的项目文件,点击下载/编程

接着对单片机冷启动,灯亮

这是b站一位博主成功点亮的,由于本人单片机与博主稍有不同,暂时还没点亮,本人点亮后会对本博客加以修改
之前未能点亮的原因还是因为型号没选对,去问了商家后终于成功点亮了

边栏推荐
猜你喜欢

【正点原子】IIC的学习与使用(未完...)

2021 soft exam intermediate pass

xftp的简单使用

查找Proj4js地图投影参数

Cannnot download sources不能下载源码百分百超详细解决方案

VSCode hides the left activity bar

sizeof和strlen最全区别,以及指针和数组运算解析

数码管动态显示及模块化编程

The most complete difference between sizeof and strlen, as well as pointer and array operation analysis

VsCode打开终端的方法
随机推荐
Delete all files containing a keyword in the current path
C语言,库函数中qsort的用法,及解释
【已解决:el-input标签无法输入或不显示文字】
Vim查找字符
创建快捷方式时如何不带“快捷方式“后缀字样?
2020-09-03 Solve the very slow installation of pip install [Errno 101] Network unreachable problem
Machine Learning, Deep Learning Based on MATLAB 2021b
Through the bit operations to convert the characters are case sensitive
【Exhibition of some projects】
Three working modes of CPU: real mode, protected mode, long mode
干货:线上下单应知应会,快来了解下
Duplicate keys detected:‘/da…‘
-----博客声明
编程测试6.21
干货 | 什么是FOC?一文带你看BLDC电机驱动芯片及解决方案
高效插入map数据
2021 soft exam intermediate pass
jvm之逃逸分析
数码管动态显示及模块化编程
[Jiangsu University of Science and Technology Automation Association stm32F103c8t6] Notes [Initial 32 MCU and TIM timing interrupt initialization parameter configuration]