-
39. SD卡实验
基于STM32的内部温度传感器实验。使用芯片内部的温度传感器(Internal Temperature Sensor Experiments)
- 2019-04-13 11:27:18下载
- 积分:1
-
Java中的Canvas绘图源码实例
Java中的Canvas绘图源码实例,主要是画线条、弧线、圆角矩形、三角形、文字、圆形等简单的几何图形,主要是通过创建DrawingCanvas对象canvas,为canvas设置命令监听者,实现接口CommandListener的方法,把缓冲区图像的内容绘制到画布上,画图部分代码:
int w = getWidth(); // 画布的宽度
int h = getHeight(); // 画布的高度
Image buffer = Image.createImage(w, h); // 用于绘图的缓冲图像
Graphics gc = buffer.getGraphics(); // 获取缓冲图像的图形环境
// 清除画布
public void clearScreen() {
gc.setColor(255,255,255); // 设置绘图颜色为白色
gc.fillRect(0,0,w,h); // 把缓冲图像填充为白色
gc.setColor(255,0,0); // 设置绘图颜色为红色
}
// 绘制直线
public void drawLine() {
setTitle("直线"); // 设置画布的标题
clearScreen(); // 清除画布
gc.drawLine(10,10,w-20,h-20); // 绘制黑色直线
gc.setColor(0,0,255); // 设置绘图颜色为蓝色
gc.drawLine(10,h/2,w-10,h/2); // 绘制蓝色直线
}
// 绘制弧
public void drawArc() {
setTitle("弧线和填充弧");
clearScreen();
gc.drawArc(5,5,w/2-20,h/2-20,60,216); // 绘制弧线
gc.drawArc(5,h/2-10,w/2-20,h/2-20,0,360); // 绘制圆
gc.setColor(0,0,255);
gc.fillArc(w/2,5,w/2-20,h/2-20,60,216); // 绘制填充弧线
gc
- 2023-04-11 05:50:03下载
- 积分:1
-
eddy current thickness_V1.0.0
说明: DRV8880驱动程序,各位看官好好学习吧,我就不多介绍了!(DRV8880 driver program, you officers to study well, I will not introduce more!)
- 2019-06-19 21:28:44下载
- 积分:1
-
Splashy是基于Linux系统的下一代的Boot Splash。它不需要打补丁而且就象正常的包一样安装。用Splashy能使你的启动过程变得赏心悦目。...
Splashy是基于Linux系统的下一代的Boot Splash。它不需要打补丁而且就象正常的包一样安装。用Splashy能使你的启动过程变得赏心悦目。-Splashy is based on the Linux system, the next generation of the Boot Splash. It does not need patching and package the same as a normal installation. Splashy will enable you to use the boot process has become a pleasure.
- 2022-01-21 20:39:41下载
- 积分:1
-
Gaodengzhusxue_tongji6ban
其实编程的时候也要很多数学知识,所以学习好高数是必不可少的,这本题解包括知识摘要和大量习题题解,可快速吸收(In fact, when the programming will still take many mathematical knowledge, it is good to learn a high number is essential, including knowledge of this problem solution Problem title abstracts and a large number of solutions, can quickly absorb)
- 2009-09-15 11:01:34下载
- 积分:1
-
dataprocessing
对基本数据,如缺失值、数据集合并等使用pandas进行处理(Processing basic data, such as missing values, data sets, and so on using pandas)
- 2018-03-16 15:41:00下载
- 积分:1
-
附件3:STM32F10xxx编程参考手册2010%28中文%29
开发芯片的详细资料,中文版的。使用性比较强,自己保存可以多看看具体的时序。(The details of the development chip, the Chinese version.)
- 2018-07-24 22:17:06下载
- 积分:1
-
用msp430控制12864点阵液晶---------的原程序哦!
用msp430控制12864点阵液晶---------的原程序哦!-12864 using MSP430 control of the original dot-matrix liquid crystal process--------- Oh!
- 2022-03-24 17:33:54下载
- 积分:1
-
开发环境我们采用ADS1.2 集成环境,请先安装ADS1.2。如何使用ADS1.2 请参考光盘内的
手册。ARM 开发环境和51 单片几很不一样。熟悉51...
开发环境我们采用ADS1.2 集成环境,请先安装ADS1.2。如何使用ADS1.2 请参考光盘内的
手册。ARM 开发环境和51 单片几很不一样。熟悉51 的都知道用仿真器来调试,但arm 却
不一样,它通过JTAG 接口仿真。因此这里先介绍JTAG 仿真的概念。-Development environment we use ADS1.2 integrated environment, install ADS1.2. How to use the CD-ROM ADS1.2 please refer to the manual. ARM development environment and a few very different 51-chip. 51 all know that familiar with emulators to debug, but not the same arm through JTAG interface simulation. So here first introduce the concept of JTAG emulation.
- 2022-03-14 20:45:00下载
- 积分:1
-
一套适合开发者使用的icon图标,OFFICE系列
一套适合开发者使用的icon图标,OFFICE系列-suitable for developers to use the icon, OFFICE Series
- 2022-08-22 11:46:48下载
- 积分:1