当前位置:网站首页>蓝桥杯:第九届—“彩灯控制器”
蓝桥杯:第九届—“彩灯控制器”
2022-07-28 02:16:00 【行不地上】
一:自己写过程中遇到的问题,及解决
1、S6切换选择“运行模式”和“流转间隔”两个显示单元,当前被选择的显示单元以0.8s为间隔亮灭(第八届电子钟有类似功能,但用的DS1302写的(判断秒的奇偶写状态))
①以0.8s为间隔亮灭 = 亮0.4s,灭0.4s
②在定时器(每1ms产生一次中断)中(count == 400)分别写数码管亮 / 灭(数码管功能没实现)
③单个写数码管好像也不太好(功能未实现)
思考:只在定时器中写数码管的状态(liang = 0 / liang = 1),再在主函数while循环中分状态写数码管的亮灭:
边栏推荐
- Pycharm 快速给整页全部相同名称修改的快捷键
- There is no way to predict the rise and fall of tomorrow
- P6118 [JOI 2019 Final]珍しい都市 题解
- 【微信小程序开发(五)】接口按照根据开发版体验版正式版智能配置
- 智能工业设计软件公司天洑C轮数亿元融资
- 【stream】stream流基础知识
- [QNX Hypervisor 2.2用户手册]9.10 pass
- “29岁,普通功能测试,我是如何在一周内拿到5份Offer的?”
- [QNX hypervisor 2.2 user manual]9.10 pass
- Opengauss Developer Day 2022 sincerely invites you to visit the "database kernel SQL Engine sub forum" of Yunhe enmo
猜你喜欢

四、固态硬盘存储技术的分析(论文)
![[signal denoising] signal denoising based on Kalman filter with matlab code](/img/9e/9e569c83dc3106570cf7571056867f.png)
[signal denoising] signal denoising based on Kalman filter with matlab code

Consolidate the data foundation in the data center

JS中的reduce()函数介绍
![[elm classification] classification of UCI data sets based on nuclear limit learning machine and limit learning machine, with matlab code](/img/50/f063cec7610015a062e3773d9916cd.png)
[elm classification] classification of UCI data sets based on nuclear limit learning machine and limit learning machine, with matlab code

vscode debug显示多列数据
![Trivy [1] tool scanning application](/img/b1/c05949f9379fcde658da64f3a0157a.png)
Trivy [1] tool scanning application

Development and design logic of rtsp/onvif protocol easynvr video platform one click upgrade scheme

ROS的调试经验

Games101 review: ray tracing
随机推荐
style=“width: ___“ VS width=“___“
写英文IEEE论文的技巧
[stream] basic knowledge of stream
基于c8t6芯片开发RC522模块实现呼吸灯
On the problem that sqli labs single quotation marks do not report errors
四、固态硬盘存储技术的分析(论文)
Kubernetes-----介绍
使用PyTorch的TensorBoard-可视化深度学习指标 | PyTorch系列(二十五)
[signal processing] weak signal detection in communication system based on the characteristics of high-order statistics with matlab code
Trivy [1] tool scanning application
[acnoi2022] one step short
Pychart shortcut key for quickly modifying all the same names on the whole page
一次跨域问题的记录
基于JSP&Servlet实现的众筹平台系统
机器人工程是否有红利期
Superparameter adjustment and experiment - training depth neural network | pytorch series (26)
满满干货赶紧进来!!!轻松掌握C语言中的函数
Games101 review: ray tracing
Pycharm 快速给整页全部相同名称修改的快捷键
[QNX Hypervisor 2.2用户手册]9.10 pass