当前位置:网站首页>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;

边栏推荐
- 电压源的电路分析知识分享
- 2022.07.20_每日一题
- 2022.07.13 _ a day
- Leetcode952. 按公因数计算最大组件大小
- 2022.07.13_每日一题
- Postgresql source code learning (33) - transaction log ⑨ - see the overall process of log writing from the insert record
- interrupt and pendSV
- Zabbix6.2 Surprise Release!Especially optimize the performance of medium and large environment deployment!
- 2022.07.24_Daily Question
- 【网络攻防】常见的网络攻防技术——黑客攻防(通俗易懂版)
猜你喜欢
![[PSQL] SQL Basic Course Reading Notes (Chapter1-4)](/img/76/d416f79b7f2c93c1c79a285c30d3e6.png)
[PSQL] SQL Basic Course Reading Notes (Chapter1-4)

链表实现及任务调度

【微服务】Nacos集群搭建以及加载文件配置

【面试:并发篇37:多线程:线程池】自定义线程池

【解决】npm ERR A complete log of this run can be found in npm ERR

iOS大厂面试查漏补缺

Thread 类的基本用法——一网打尽

MySQL installation to the last step in the write the configuration file failed?And after the installation steps

【第四章】详解Feign的实现原理

MySQL安装到最后一步 write configuration file 失败 怎么办?及后安装步骤
随机推荐
Postgresql source code learning (33) - transaction log ⑨ - see the overall process of log writing from the insert record
Zabbix6.2惊喜发布!特别优化中大型环境部署的性能!
Leetcode952. Calculate maximum component size by common factor
文件 - 04 下载文件: 根据文件下载链接下载文件
bcos简介及自序
安装部署KubeSphere管理kubernetes
mysql插入新字段方法
'vite' is not an internal or external command, nor is it a runnable program or batch file.
项目 - 如何根据最近30天、最近14天、最近7天、最近24小时、自定义时间范围查询MySQL中的数据?
DAY18: XSS vulnerability
波士顿房价数据集 Boston house prices dataset
那些破釜沉舟入局Web3.0的互联网精英都怎么样了?
van-uploader uploads images, and cannot preview the image using base64 echo
2022.07.13_每日一题
The Ballad of Lushan Sends Lu's Servant to the Void Boat
PCB抄板
2022.07.12_每日一题
03-SDRAM: Write operation (burst)
Navicat new database
[Interview: Concurrency 38: Multithreading: Thread Pool] Basic concepts of the ThreadPoolExecutor class