今天測试数码管LED屏驱动,用某产品的一个共阴极的LED屏,依据电路图做数码管LED屏的检測。 代码写得有些冗长。有好几种驱动的方法,这里仅仅是当中一种最直接的方案。抽出时间要做个更有效率的调用和驱动的方案。 //设置阴极接口 int d1 = 1; int d2 = 2; int d3 = 3; ...
分类:
其他好文 时间:
2017-08-20 09:59:42
阅读次数:
213
题目描述 硬币购物一共有4种硬币。面值分别为c1,c2,c3,c4。某人去商店买东西,去了tot次。每次带di枚ci硬币,买si的价值的东西。请问每次有多少种付款方法。 输入 第一行 c1,c2,c3,c4,tot 下面tot行 d1,d2,d3,d4,s,其中di,s<=100000,tot<=1 ...
分类:
其他好文 时间:
2017-08-16 09:58:36
阅读次数:
133
Line charts are often used to plot temporal data, like a stock price over time. In this lesson we’ll see how to use D3 APIs to create our own simplifi ...
分类:
其他好文 时间:
2017-08-14 21:28:31
阅读次数:
366
[HAOI2008]硬币购物 题目描述 硬币购物一共有4种硬币。面值分别为c1,c2,c3,c4。某人去商店买东西,去了tot次。每次带di枚ci硬币,买si的价值的东西。请问每次有多少种付款方法。 输入输出格式 输入格式: 第一行 c1,c2,c3,c4,tot 下面tot行 d1,d2,d3,d ...
分类:
其他好文 时间:
2017-08-13 23:22:47
阅读次数:
183
前言:转眼之间,实习已经过去快一周了,在这段时间里自己接触了许多新鲜的语言,学习了很多新的技术,在此总结梳理一下,希望能对其他的初学者有所帮助,不正之处,请多指教 项目主要的框架是Node.js Express,网页使用了Leaflet和d3,在数据库查询传递中使用了jquery的ajax。 现在所 ...
分类:
Web程序 时间:
2017-08-13 22:19:59
阅读次数:
267
Scatter plots, sometimes also known as bubble charts, are another common type of visualization. They’re extremely versatile thanks to their ability to ...
分类:
其他好文 时间:
2017-08-11 19:29:59
阅读次数:
175
Most charts aren’t complete without axes to provide context and labeling for the graphical elements being displayed. This lesson introduces D3’s APIs ...
分类:
其他好文 时间:
2017-08-07 19:31:20
阅读次数:
135
Data visualizations are a lot more interesting when they’re interactive. Whether it’s clicks, roll overs, or drags, it makes things more compelling, a ...
分类:
其他好文 时间:
2017-08-06 19:30:40
阅读次数:
159
SVG is a great output format for data visualizations because of its scalability, but it comes with some idiosyncrasies and unique challenges. In this ...
分类:
其他好文 时间:
2017-08-04 21:26:24
阅读次数:
135
Git 版本演示,建议读者直接上线操作试试! 网址:http://onlywei.github.io/explain-git-with-d3/#zen ...
分类:
其他好文 时间:
2017-08-04 18:17:14
阅读次数:
120