自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (16)
  • 收藏
  • 关注

原创 关于LIS3DH陀螺仪传感器配置INT1为移动检测中断

#if 1 uint8_t response=0; response = LIS3DH_SetAxis(LIS3DH_X_ENABLE | LIS3DH_Y_ENABLE | LIS3DH_Z_ENABLE); response = LIS3DH_SetODR(LIS3DH_ODR_50Hz); response = LIS3DH_SetMode(LIS3DH_LOW_PO...

2018-10-31 14:59:44 3178

转载 STM32f030 boot iap升级时keil配置注意事项

最近使用了一款Cortex-M0内核的芯片STM32F030CC,发现它中断向量表的重映射方法与STM32F10x系列的有所区别,在这里记录与分享一下。由于需要通过IAP进行固件升级,所以芯片的FLASH里面要烧录两份代码:一个Boot loader, 一个用户应用程序。理所当然的,在用户应用程序中,必须得重新映射中断向量表。可是在ST提供的固件

2017-07-22 10:17:55 7312 1

原创 ucgui emwin使用qrencode显示二维码

项目需要在STM32平台上实现字符串生成二维码,同时在LCD上显示。在百度上搜索,比较常用的就是linux平台下的开源qrencode。下载qrencode-3.4.4.tar.gz源代码将其中用到的依赖文件添加到我们的工程当中。对于字符串生成二维码,其实最简单的调用函数就是:QRcode *qrcode;qrcode = QRcode_en

2017-06-02 13:43:33 2087 1

原创 emwin使用自定义字库显示字母及汉字特殊字符

基于Segger的emwin进行液晶屏上的图形开发,减低了很多工作量,也非常的好移植,ST系列的单片机上可以免授权使用。        emwin自带了很多字体,有各种大小的数字的字体,可以在GUI.h里面看到定义了的字体。emwin工程里自带了匹配该版本的图片和字体的生成工具。字体的生成工具FontCvtST。    为了节省内存空间,我们只需要关注自己要用到的字符。

2017-05-06 14:38:02 6227 1

原创 stm32 spi flash u盘

ALIENTEK 战舰STM32开发板板载了一个SD卡插槽,可以用来接入SD卡,另外战舰STM32开发板板载了一个8M字节的SPI FLASH芯片,通过STM32的USB接口,我们可以实现一个简单的USB读卡器,来读写SD卡和SPI FLASH。本章我们还是通过移植官方的USB Mass_Storage例程来实现,该例程在MDK的安装目录下可以找到(..\MDK\ARM\Examples\ST

2017-05-03 17:23:16 2614

原创 tcp&udp测试工具的使用,串口转wifi模块udp测试

工作机制介绍,设备主动向固定的主机固定端口主动发送数据,为了知道设备的IP及端口号以及能够向设备发送数据,我们需要用到tcp&udp测试工具。比如设备主动向192.168.3.13主机的10000端口发送数据。我们在wifi模块上先配置好这两个参数。打开TCP/UDP Socket调试工具,设置本地端口号为10000。如果接收到设备上传的数据,会指示出对方IP及端口号。

2017-04-18 10:53:50 4626

原创 tcp udp协议里使用bind函数的理解

#define SERVICE_IPADDR  "192.168.1.12"#define SERVER_PORT      30000struct sockaddr_in server_addr;int tolen;int server_fd = -1;if((server_fd = socket(AF_INET, SOCK_DGRAM, 0)) >=

2017-02-08 09:17:56 2909

原创 onvif 同时发现多台设备的问题

软件ONVIF Device Manager V2.2.250不能同时发现多台onvif设备修改wdd_ssom.c函数中的urn的值就可soap_wsdd_mode wsdd_event_Probe(struct soap *soap, const char *MessageID, const char *ReplyTo, const char *Types, const cha

2016-10-22 16:12:46 1043

原创 yeelink arduion post以太数据包分析

利用arduion uno开发板连接yeelink平台,上传温度状态详见http://www.yeelink.net/developer/doc/48使用以太网抓包模块抓取arduion发送的以太网包使用wireshark查看数据是分片上传的,拼接起来的具体数据如下

2016-10-18 15:01:15 541

原创 samd20 21 配置pwm 改变频率 占空比

static void configure_tc(void){    //! [setup_config]    struct tc_config config_tc;    //! [setup_config]    //! [setup_config_defaults]    tc_get_config_defaults(&config_tc);    config

2016-10-09 14:25:58 1490

原创 AT25C02程序编写及疑问解析

I2C接口的EEPROM芯片有AT25C02,AT25C04,AT25C08,AT24C16等。先来看看读写时序void EEPROM_WriteChar(uint16_t addr, uint8_t dat){    I2C_Start();    I2C_WriteChar(0xA0);    I2C_Ack();    //I2C_WriteChar(ad

2016-09-29 15:10:17 718

原创 libdecodeqr-0.9.3在ubuntu上移植记录

依赖opencv-2.0.0 解压#tar -xjvf libdecodeqr-0.9.3.tar.bz2 出现 doc  img  src 三个目录#cd src#./configure#make错误解决./configure 然后出现checking for cvCreateImage in -lcv... no 之后配置失败#cd src

2014-12-24 14:49:57 1634

ML302 CAT1模块板资料V1.1.rar

ML302 是中国移动最新推出的 LTE Cat.1 模块。ML302 支持 TD- LTE/FDD- LTE 通信制式,采用 LCC+LGA 封 装方式。   丰富的 Internet 协议、行业标准接口和功能,支持 Windows、Linux 和 Android 驱动。ML302 可广泛应用到 M2M 多个领域中,如共享、金融支付、POC、工业控制等。

2020-05-22

AD7190 - Microcontroller No-OS Driver

The driver contains two parts: The driver for the AD7190 part, which may be used, without modifications, with any microcontroller. The Communication Driver, where the specific communication functions for the desired type of processor and communication protocol have to be implemented. This driver implements the communication with the device and hides the actual details of the communication protocol to the ADI driver. The Communication Driver has a standard interface, so the AD7190 driver can be used exactly as it is provided. There are three functions which are called by the AD7190 driver: SPI_Init() – initializes the communication peripheral. SPI_Write() – writes data to the device. SPI_Read() – reads data from the device.

2019-06-26

ht16c21/VK2C21驱动

stm32f40x rtthread gpio i2c ht16c21 VK2C21驱动,测试验证代码

2018-10-24

django简易学生成绩管理

python3 + django2 简易学生成绩管理系统,有学生老师课程成绩表

2018-09-26

OneNET 适配M5310sp3

OneNET Demo例程 :提供了开发板连接OneNET的Demo程序和相应的说明文档,Demo程序提供了一个编程框架,在该框架上用户只需要写很少的代码就可以上传数据至OneNET平台中;

2018-08-15

port-mirroring-master

port-mirroring is an OpenWrt package that sends copies of network packets from your OpenWrt router to another device on your network or beyond, giving you the ability to monitor and analyze network traffic without additional hardware. Intrusion detection systems, network application debugging, and network performance monitoring are common use cases. This is a continuation of the work started by Bruce Geng at https://code.google.com/p/port-mirroring/.

2016-04-20

i2c-tools-3.1.1.tar.bz2

I2C Tools project contains a heterogeneous set of Linux tools: a bus probing tool, a chip dumper, register-level access helpers, EEPROM decoding scripts, and more. The various tools included in this package are grouped by category, each category has its own sub-directory: · eeprom Perl scripts for decoding different types of EEPROMs (SPD, EDID...) These scripts rely on the "eeprom" kernel driver. They are installed by default. · eepromer Tools for writing to EEPROMs. These tools rely on the "i2c-dev" kernel driver. They are not installed by default. · include C/C++ header files for I2C and SMBus access over i2c-dev. Installed by default. · py-smbus Python wrapper for SMBus access over i2c-dev. Not installed by default. · tools I2C device detection and register dump tools. These tools rely on the "i2c-dev" kernel driver. They are installed by default. INSTALLATION: There's no configure script, so simply run "make" to build the tools, and "make install" to install them. You also can use "make uninstall" to remove all the files you installed. By default, files are installed in /usr/local but you can change this behavior by editing the Makefile file and setting prefix to wherever you want. You may change the C compiler and the compilation flags as well. Optionally, you can run "make strip" prior to "make install" if you want smaller binaries. However, be aware that this will prevent any further attempt to debug the programs. Read more: http://linux.softpedia.com/get/System/Hardware/I2C-Tools-31650.shtml#ixzz46LewwyUK

2016-04-20

no.nordicsemi.android.apk

nordic semi bluetooth ble android apk 4.3 是apk不是源码哦 no.nordicsemi.android.beacon.service.apk no.nordicsemi.android.mcp.apk no.nordicsemi.android.nrfbeacon.apk no.nordicsemi.android.nrftoolbox.apk nRFUART_Googlev2.apk nrfTempAndroid.apk

2014-07-14

可keil编译sam3x_ek_bertos_http_demo

根据atmel官方例程sam3x_ek_bertos_http_demo,自己移植到keil下的,希望对大家有帮助。 使用keil时,windows下确保安装arm-2012.03-56-arm-none-eabi.exe这样类似的gcc编译软件 在keil->Project->Manage->Components,Environment,Books...->Folders/Externsions的 Use GCC的GNU-Tool Folder中指定arm-2012.03-56-arm-none-eabi.exe的安装目录

2012-09-25

lm3s small rtos 例程

在TI公司LM3S系列ARM上跑small rtos,给出了4个任务的例程!

2011-05-02

C8051F32X 中文资料

C8051F32X,中文数据手册!!! 主要用于USB方面的开发!

2010-01-03

带缓冲的串口,LED程序

51串口源程序,串口收到或发出数据LED灯都会亮起,系统运行灯保持闪烁状态。可以通过系统库函数printf向串口发送数据。

2009-12-17

C51编程pdf

C51编程总结<br>pdf

2008-06-20

数字图像处理数字图像处理(何东建)ppt2

数字图像处理数字图像处理(何东建)配套ppt

2008-05-28

数字图像处理数字图像处理(何东建)ppt

数字图像处理数字图像处理(何东建)配套PPT

2008-05-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除