资源列表
排序选择:
[单片机(51,AVR,MSP430等)] 5_Interrupt_Key_LED
说明:主函数 完成初始化设定后,休眠。 P1.3事件处理函数中,改写P1.0和P1.6输出状态。-The main function of complete initialization settings, dormancy. Function in the P1.3 event handling, rewriting the P1.0 and P1.6 output state.<林志浩> 在 2025-06-21 上传 | 大小:91kb | 下载:0
[Dephi控件源码] Delphi
说明:Delphi:Delphi位图图像Gamma校正实例程序,暂时只支持对BMP图像进行Gamma校正,可看到经校正后的图像更加明亮了,当然,校正程序仅是说明原理,准确度还需完善。 -Delphi: Delphi bitmap image Gamma correction procedures example, only supports BMP image Gamma correction, you can see the image corrected after brighter, of<FH101LO> 在 2025-06-21 上传 | 大小:6kb | 下载:0
[单片机(51,AVR,MSP430等)] 6_PWM_LED
说明:TA(Timer_A定时器)可用于自动输出PWM而无需CPU干预。 编写PWM初始化、设定频率改写占空比的库函数文件TA _PWM.c。 主函数调用库函数TA0_PWM_Init()完成TA_PWM初 始化,然后休眠。 P1.3事件处理函数中,循环递增静态局部变量循环递增静态局部变量 Bright的值,并调用库函数TA0_PWM_SetPeriod()改写PWM占空比参数。-TA (Timer_A timer) can be used for the automatic output<林志浩> 在 2025-06-21 上传 | 大小:152kb | 下载:0
[Dephi控件源码] bmp2txt
说明:Delphi:24bit位图存储到TXT中,这是怎么一回事叫?打开文本文件,写入文件签名,输出红色分量到文件,间距为4个位宽,输出绿色分量到文件,间距为4个位宽,输出蓝色分量到文件,间距为4个位宽,如果不对则,文件出错。将字节信息读入row[i].rgbtGreen…… -Delphi: 24bit bitmap stored in TXT, this is how it is called? Open the text file written to a file signature re<77ULQW6> 在 2025-06-21 上传 | 大小:9kb | 下载:0
[Dephi控件源码] s
说明:Delphi:Delphi图像选区“蚂蚁线"源码下载,也就是在为图像增加一个虚线边框,这个会流动的虚线框就叫做蚂蚁线,在PhotoShop里被看做“选区”,以表示选中的图像区域,便于进行效果处理。要想探究Delphi“蚂蚁线”的实现原理,请参考本源码。 -Delphi: "ant line" Delphi source code download images constituency, which is in the image to add a dotted border, this w<77ULQW6> 在 2025-06-21 上传 | 大小:68kb | 下载:0
[Dephi控件源码] Delphi
说明:Delphi:Delphi 颜色混合,Delphi 三基色混合原理展示,向三家很好的展示三基色的混合作用下生成的各种颜色,可自定义任意两种基色的混合,如果你有彩色打印机的话,还可打印出这些颜色,也可增色色彩。本例演示效果图如上所示。 -Delphi: Delphi color mixing, Delphi tricolor show mixing principle, to three very good display of various colors next generation m<KF52THJ> 在 2025-06-21 上传 | 大小:11kb | 下载:0
[单片机(51,AVR,MSP430等)] 7_1_Breath_Lamp
说明:WDT定时器设置为16ms中断。 在WDT中断,循环递增/递减静态全局变量Bright,根据 Bright改写PWM占空比。-WDT timer 16ms interrupt. In the WDT interrupt, circulating the increment/decrement static global variables of Bright, according to Bright to rewrite the PWM duty cycle.<林志浩> 在 2025-06-21 上传 | 大小:182kb | 下载:0
[单片机(51,AVR,MSP430等)] 7_2_Timer_Key_LED
说明:WDT定时器设置为16ms中断。 在WDT中断,记录下最近两次的IO状态存在KEY_Now和 KEY_Past中。根据前高后低可判断按键按下,前低后高可判断按键松开。 事件处理函数P13_Onclick()根据按键状态切换LED 亮灭 。-WDT timer 16ms interrupt. In the WDT interrupt, the presence of KEY_Now and KEY_Past record the last two IO state. According<林志浩> 在 2025-06-21 上传 | 大小:92kb | 下载:0
[Dephi控件源码] TListBox
说明:Delphi:Delphi自绘的TListBox界面,修改自zw_sun代码,去掉了三方控件,TListBox显示图片与文字列表,效果挺棒的,大家看截图。 -Delphi: Delphi custom interface TListBox painted, modified from zw_sun code, remove the three controls, TListBox display pictures and text list, the effect is very great<LCGUU2P> 在 2025-06-21 上传 | 大小:179kb | 下载:0
[单片机(51,AVR,MSP430等)] 7_3_Key_Long_Short_Mealy
说明:WDT定时器设置为16ms中断。在WDT中断中,记录下最近两次的IO状态存在KEY_Now和KEY_Past中。根据前高后低可判断按键下,前低后高可判断按键松开,存入标志位Key_Dect中。 Key_Dect作为输入量,利用状态机函数Key_SM(),判断出短按键事件和长按键事件。分别调用各自事件处理函数进行处理。-WDT timer 16ms interrupt. In the WDT interrupt, the presence of KEY_Now and KEY_Past rec<林志浩> 在 2025-06-21 上传 | 大小:99kb | 下载:0