源程序,但用的是8位的RGB,如果你的硬件设备是24位的则需要相应的程序转换。
上传时间: 2013-10-26
上传用户:603100257
特点: 精确度0.05%满刻度±1位數 可量测交直流电流/交直流电压/电位计/Pt-100/热电偶/荷重元/电阻等信号 热电偶SENSOR输入种类J/K/T/E/R/S/B可任意规划 显示范围-19999-99999可任意规划 小数点可任意规划 尺寸小,稳定性高 CE认证
上传时间: 2013-10-31
上传用户:wsq921779565
要生产音频脉冲,只要算出某一音频的周期(1/频率),可以利用定时器计时的方式得到此频率的脉冲。而Arduino平台“封装”了新的数字输出函数tone()。更简易的实现喇叭和蜂鸣器唱歌。 tone(pin, frequency),Arduino会向指定pin发送制定频率的方波,执行noTone()函数来停止。 tone(pin, frequency, duration方法多了一个参数,代表发送方波持续的时间,到时自动停止发送信号,就不需要noTone()函数。 利用tone()函数播放音乐,只需要查表了解各个音符对应的频率,还要求个人稍微能看懂音乐谱子的节拍。 物料清单 : Arduino 328控制板 1块 8Ω 0.5W的喇叭(或者蜂鸣器) 1个(ATmega328的驱动能力足够,直接拉电流就ok!) 12Ω电阻(限流) 1个 实物图:
上传时间: 2013-10-14
上传用户:jiangxiansheng
/*大屏幕显示数字时钟*/ /*要求屏幕按640*480分辩率显示数字时钟,格式为12:18:30,表示12点18分30秒,共8个字符;*/ /*每个字符以80*100点阵显示,记时真确*/
上传时间: 2013-12-08
上传用户:jeffery
用89C2051实现的软PLC。PLC程序存在24C04,用按健输入程序,数码管显示,程序以解释的方式执行。
上传时间: 2015-03-11
上传用户:zhengjian
字符型液晶显示器测试驱动程序,16×2字符,用八位数据线方式
上传时间: 2014-01-03
上传用户:小码农lz
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
标签: government streamline important alphabet
上传时间: 2015-06-09
上传用户:weixiao99
电力系统在台稳定计算式电力系统不正常运行方式的一种计算。它的任务是已知电力系统某一正常运行状态和受到某种扰动,计算电力系统所有发电机能否同步运行 1运行说明: 请输入初始功率S0,形如a+bi 请输入无限大系统母线电压V0 请输入系统等值电抗矩阵B 矩阵B有以下元素组成的行矩阵 1正常运行时的系统直轴等值电抗Xd 2故障运行时的系统直轴等值电抗X d 3故障切除后的系统直轴等值电抗 请输入惯性时间常数Tj 请输入时段数N 请输入哪个时段发生故障Ni 请输入每时段间隔的时间dt
上传时间: 2015-06-13
上传用户:it男一枚
用MSP430单片机编写的程序,可显示4行汉字
上传时间: 2014-01-23
上传用户:wang5829
1、 了解系统调用fork()、execl()、exit()、getpid()和waitpid()的功能和实现过程 2、 编写一段程序实现以下功能: a) 使用系统调用fork()创建两个子进程 b) 父进程重复显示字符串”parent:”,并使用函数getpid()显示自己的进程ID。 c) 两个子进程分别重复显示字符串”child:”,并使用函数getpid()显示自己的进程ID 3、 编写一段程序实现以下功能: a) 使用系统调用fork()创建一个子进程 b) 子进程显示自己的进程ID和字符串": The child is calling an exec.\n",然后通过execl()调用系统命令ps显示当前运行的进程情况,从而更换自己的执行代码,最后调用exit()结束。 c) 父进程显示自己的进程ID和字符串” ": The parent is waiting for child to exit.\n ",然后调用waitpid()等待子进程结束,并在子进程结束后显示”The parent exit.\n
上传时间: 2013-12-18
上传用户:叶山豪