当前位置:网站首页>CY7C68013A之LED闪烁
CY7C68013A之LED闪烁
2022-07-31 06:44:00 【火柴棍mcu】
#include "fx2.h"
#include "fx2regs.h"
sbit LED_PIN = IOD ^ 3;
main()
{
unsigned long i = 0;
OED |= 0x08; //PD3 Output Enable;
while(TRUE)
{
if( i++ > 50000 )
{
i = 0;
LED_PIN = ~LED_PIN;
}
}
}
程序下载
Download是将程序下载到RAM,Lg EEPROM是将程序下载到EEPROM;
边栏推荐
- 文件 - 07 删除文件: 根据fileIds批量删除文件及文件信息
- MySQL installation to the last step in the write the configuration file failed?And after the installation steps
- DAY18:Xss 靶场通关手册
- 文件 - 03 下载文件:根据文件id获取下载链接
- 2022.07.20_每日一题
- XSS靶场prompt.ml过关详解
- 把 VS Code 当游戏机
- 2022.07.13_每日一题
- 基于交替迭代法的交直流混合系统潮流计算matlab程序iEEE9节点系统算例
- 【 TA - frost Wolf _may - "one hundred plan" 】 art 2.3 hard surface
猜你喜欢
2704:寻找平面上的极大点
【Go报错】go go.mod file not found in current directory or any parent directory 错误解决
'vite' is not an internal or external command, nor is it a runnable program or batch file.
什么是半波整流器?半波整流器的使用方法
安装部署KubeSphere管理kubernetes
任务及任务切换
SCI写作指南
Automatic translation software - batch batch automatic translation software recommendation
2022.07.18 _ a day
Pygame Surface对象
随机推荐
interrupt and pendSV
Zotero | Zotero translator plugin update | Solve the problem that Baidu academic literature cannot be obtained
知识、创新、回报。
深度学习通信领域相关经典论文、数据集整理分享
XSS靶场prompt.ml过关详解
2022.07.14_每日一题
mysql插入新字段方法
客户端navicat安装教程
PCB抄板
2022.07.14_Daily Question
基金投顾业务
Thread 类的基本用法——一网打尽
2022.07.15_Daily Question
【微服务】 微服务学习笔记二:Eureka注册中心的介绍及搭建
2022.07.20_每日一题
Jobject 使用
2022.07.13_每日一题
分布式缓存系统必须要解决的四大问题
进程调度的基本过程
从入门到一位合格的爬虫师,这几点很重要