Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1964885
  • 博文数量: 356
  • 博客积分: 8284
  • 博客等级: 中将
  • 技术积分: 4580
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-15 20:25
个人简介

天行健,君子以自强不息

文章分类

全部博文(356)

文章存档

2018年(1)

2016年(4)

2015年(13)

2014年(14)

2013年(2)

2012年(25)

2011年(43)

2010年(65)

2009年(189)

发布时间:2015-09-19 10:45:48

// vc_tcpclientDlg.cpp : implementation file
//

#include "stdafx.h"
#include "vc_tcpclient.h"
#include "vc_tcpclientDlg.h"

#pragma comment(lib,"ws2_32.lib")
//#include "winsock2 .h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif



//0,非阻塞,1,阻塞
#define ZS 1
///printf控制台输出使能
#define LZ_PRINTF_ENABLE 0
///TCP DEBUG 为1,目标IP为局域网IP
#define LZ_LOCAL_TCP_DEBUG 0
////......【阅读全文】

阅读(1713) | 评论(0) | 转发(0)

发布时间:2015-09-01 19:12:31

<pre style="font-family:宋体;font-size:12pt;background-color:#FFFFFF;"><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code63')">此处</span>)折叠或打开</p></div><div id="code63" class="codeText"><ol style="margin:0 1px 0 .........【阅读全文】

阅读(1462) | 评论(0) | 转发(0)

发布时间:2015-06-14 19:44:19

原文地址:STM32之PWM最终版-注释明了一看就懂作者:手机用户#include "stm32f10x.h"void GPIO_TimPWM(void){ GPIO_InitTypeDef GPIO_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA  , ENABLE);// GPIO_InitStructure.GPIO_Pin = .........【阅读全文】

阅读(8217) | 评论(0) | 转发(1)

发布时间:2015-06-13 11:48:13

程序如下:/******************** (C) COPYRIGHT 2012               *************************** * 文件名  :adc.c * 描述    :adc应用函数库         * 库版本  :ST3.5.0 *******************.........【阅读全文】

阅读(3569) | 评论(0) | 转发(0)

发布时间:2014-12-19 14:48:03

1、启动IIC驱动nano  /etc/modules添加i2c-dev ,如下:取消对IIC驱动的黑名单nano /etc/modprobe.d/raspi-blacklist.conf3、重启4、安装i2cdetectapt-get install i2c-tools5、将BH1750连接到树莓派6、i2cdetect -y -a  1效果如下:7、编写程序cd /home/pinano iic_bh1750.c点击(.........【阅读全文】

阅读(11081) | 评论(1) | 转发(1)
给主人留下些什么吧!~~

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

number007cool2022-03-14 09:22

M甲壳虫M:壮哥,时隔11年再来你的博客,你停播了

回复  |  举报

M甲壳虫M2022-03-10 17:32

壮哥,时隔11年再来你的博客,你停播了

回复  |  举报
留言热议
请登录后留言。

登录 注册