-
LCD12864
本内容为LCD12864的驱动函数,可以适合刚入手液晶屏的同学学习(The content LCD12864 driver function can fit LCD classmates just start learning)
- 2012-11-27 15:24:45下载
- 积分:1
-
lsm6dsl
lsm6dsl基于stm32f407的开发,详细代码,
/* Includes ------------------------------------------------------------------*/
#include "lsm6dsl.h"
#include "spi.h"
#include "usart.h"
#include "delay.h"
#include
//³õʼ»¯LSM6DSLµÄIO¿Ú
void LSM6DSL_Init(void)
{
uint8_t Device_ID;
GPIO_InitTypeDef GPIO_InitStructure;
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOG, ENABLE);//ʹÄÜGPIOGʱÖÓ
//GPIOI7ÍÆÍìÊä³ö
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_7;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT;//ÆÕͨÊä³öģʽ
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;//ÍÆÍìÊä³ö
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;//100MHz
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP;
GPIO_Init(GPIOG, &GPIO_InitStructure);//³õʼ»¯PG7
LSM6DSL_SPI_Init();
- 2022-02-16 01:20:43下载
- 积分:1
-
IEButtonDemo
界面示例,讲述如何在MFC中生成一个动态按钮(Interface example, describes how to generate a dynamic button in MFC)
- 2011-05-19 13:54:28下载
- 积分:1
-
178cdaima
178个c语言学习例题,带源码!!有浅入深很不错的!(178 c language examples, with source code! ! Light into the deep!)
- 2012-06-14 13:01:21下载
- 积分:1
-
装饰模式-穿衣02
说明: 配置文件之基础运算,包括加减乘除,比较等运算。(The basic operations of configuration files include addition, subtraction, multiplication, division, comparison and so on.)
- 2020-06-25 21:00:02下载
- 积分:1
-
间断有限元
When faced with the task of solving a partial differential equation computationally, one quickly realizes that there is quite a number of different methods
for doing so. Among these are the widely used finite difference, finite element, and finite volume methods, which are all techniques use
- 2022-11-12 22:50:03下载
- 积分:1
-
服务器PHP环境搭建软件
绿色无限制版本,特别适合新手,一键搞定。
- 2022-11-20 05:45:04下载
- 积分:1
-
服务器客户端实例client/server
服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例服务器客户端实例
- 2022-01-22 04:42:41下载
- 积分:1
-
C# 获取DataGridView鼠标单击单元格值
C# 单击 鼠标获取DataGridView单元格的值,这个例子需要连接SQL数据库,测试时候没连接成功,截图也不准确,请大家下载源码,自己配置环境调试吧,这是核心代码部分:
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{//获取DataGridView鼠标单击单元格值
var MyInfo = this.dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
MessageBox.Show("刚才的选择是:" + MyInfo, "信息提示", MessageBoxButtons.OK);
}
private void dataGridView1_MouseUp(object sender, MouseEventArgs e)
{//单击鼠标获取DataGridView单元格值
var MyHit = this.dataGridView1.HitTest(e.X, e.Y);
if (MyHit.RowIndex >= 0)
{
this.dataGridView1.Select();
var MyInfo = this.dataGridView1.Rows[MyHit.RowIndex].Cells[MyHit.ColumnIndex].Value.ToString();
MessageBox.Show("刚才的选择是:" + MyInfo, "信息提示", MessageBoxButtons.OK);
}
}
- 2022-07-18 18:54:50下载
- 积分:1
-
offtakeSysterm
软件设计,商品销售管理系统,
源程序,用SQL2000或2005支持(Software design, sales management system, source code, or 2005 with SQL2000 support)
- 2009-06-12 21:44:16下载
- 积分:1