-
testprog
一个简单好用的进度条例子程序
vc++开发
可以在此基础上增加自绘功能(An easy-to-use progress Ordinance the subroutine vc++ development to increase self-drawn on this basis)
- 2012-08-07 16:25:25下载
- 积分:1
-
SV8-Demo
实现定时控制,非常实用,可以直接调用,有需要的可以下载(Achieve timing control, very practical, you can directly call the need to be downloaded)
- 2013-12-31 09:46:41下载
- 积分:1
-
C# 为DataGridView控件设置交替行样式(隔行换色)
C# 为DataGridView控件设置交替行样式,也就是大家熟悉的隔行换色功能,每一行数据的底色都不一样,这样可更清淅的浏览表格,在WEB开发中,这也是一个受欢迎的功能,在C# WinForm编程中,同样是个既实用又美观的功能。
本示例测试需要连接好SQL数据库,否则DataGridView未填充数据,不能看出多行隔行换色效果。其实实现这一功能,最核心的几行代码如下:
为DataGridView控件设置交替行样式
this.customersDataGridView.RowsDefaultCellStyle.BackColor = Color.SeaGreen ;
this.customersDataGridView.AlternatingRowsDefaultCellStyle.BackColor =Color.Cyan;
- 2022-11-20 06:00:03下载
- 积分:1
-
这个程序是用c#编的赫夫曼编码,相信对很对有用
这个程序是用c#编的赫夫曼编码,相信对很对有用-This procedure is used c# Series of Huffman coding, I believe it to be useful
- 2022-05-25 23:43:50下载
- 积分:1
-
匿名飞控经典源代码 四轴飞行器
匿名飞控经典源代码 四轴飞行器
#include "stm32f10x.h"
#include "sysconfig.h"
#include "bsp.h"
#include "led.h"
#include "tim3.h"
#include "usart.h"
#include "ANO_TC_STM32F1_I2C.h"
#include "MPU6050.h"
#include "moto.h"
#include "spi.h"
#include "nrf24l01.h"
#include "tim_pwm_in.h"
#include "rc.h"
#include "imu.h"
#include "control.h"
#include "data_transfer.h"
u8 SYS_INIT_OK=0;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SYS_INIT(void)
{
LED_INIT();
LED_FLASH();
Moto_Init();
Uart1_Init(115200);
Tim3_Init(500);
#ifdef CONTROL_USE_RC
Tim_Pwm_In_Init();
#endif
Nvic_Init();
ANO_TC_I2C2_INIT(0xA6,400000,1,1,3,3);
- 2022-06-15 05:31:50下载
- 积分:1
-
关于单片机的多模式工作
要求:主要考察流水灯和矩阵键盘
1. 上电无现象,按除 0 键外的其他键无变化。(5 分)
2. 按 0 键解锁,启动流水灯以 10ms 加速度加速流动(有加速趋势即可),解锁成功。
(15 分)
3. 此时按键 1~8 无现象,按 a 键进入 A 模式,按 b 键进入 B 模式,按键 c 进入 C 模式。
(5 分)
A 模式,启动流水灯,按键 1~8 中的任意一个键数码管依次变更,同时当按键 1 时流水灯
不流过第一个,再次按键 2 时流水灯不流过第二个,以此类推。(20 分)
B 模式,启动流水灯,流水灯间隔 300ms,按 1~8 中的任意一个键数码管依次变更,按下
1 时,一个灯流动;按下 2 时两个流动,以此类推。(20 分)
C 模式,8 个灯全亮,按 1~8 中的任意一个键数码管依次变更,控制发光二极管的亮度。
(20 分)
4. 整个过程 A B C 三个模式可以互相切换。(15 分)
注:(详见视频,矩阵键盘解锁和流水灯两个方面如果不能同时实现,分别实现也可以酌情
给分)
0 1 2 3
4 5 6 7
8 a b c
- 2022-06-19 11:10:51下载
- 积分:1
-
F28335-SCI
说明: 实现TMS320与PC机之间的串口通信,可以发单个数据,也可以一次发多个数据,当发送的数据达到8个时返回显示给PC机(TMS320 and the realization of serial communication between PC, can send individual data, multiple data can also be made once, when sending data back to 8 when displayed to the PC,)
- 2011-03-28 16:33:51下载
- 积分:1
-
DE_EN_Lib
rtcm3.2协议 编解码、 加密、解密 处理(Rtcm3.2 protocol codec, encryption, decryption processing)
- 2018-10-29 11:25:41下载
- 积分:1
-
DS18B20测温程序
这是DS18B20数字温度传感器测温程序,参加各种电子设计比赛可能会用到。DS18B20 是美信公司的一款温度传感器,单片机可以通过 1-Wire 协议与 DS18B20 进行通信,最终将温度读出。1-Wire 总线的硬件接口很简单,只需要把 DS18B20 的数据引脚和单片机的一个 IO 口接上就可以了。
- 2023-04-10 20:25:04下载
- 积分:1
-
MyBitMapCompress
说明: 一个简单的32位位图压缩算法,基本思想是,扫描像素点,后面有雷同的就记下重复次数。(A simple 32-bit bitmap compression algorithm, the basic idea is to scan pixel, behind identical repetitions on the record.)
- 2010-04-13 22:43:43下载
- 积分:1