上一页 1 ··· 9 10 11 12 13 14 下一页

2017年12月15日

socket programming

摘要: 进行 socket programming开始要做的工作: On Linux: 以下是client代码,使用TCP,注意网络字节序: 服务器端程序创建socket的方法是一样的,只是要最后要调用bind()、listen()和accept(),示例代码如下: 使用UDP: 若要发送数据给其他计算机, 阅读全文

posted @ 2017-12-15 16:58 Milo_lu 阅读(431) 评论(0) 推荐(0)

2017年11月27日

基于 IAR 修改工程名称

摘要: There are 7 steps: changed and saved the name of .ewp in the in the file of <?xml version="1.0" encoding="iso-8859-1"?> <workspace> <project> <path>$W 阅读全文

posted @ 2017-11-27 14:39 Milo_lu 阅读(1127) 评论(0) 推荐(0)

Baidu IoT Study

摘要: 百度开放云物接入IoT--MQTT测试 原创 2016年06月21日 17:36:35 标签: <!-- [startarticletags]--> 百度开放云 / MQTT / <!-- [endarticletags]--> 5647 <!-- <li><button class="btn-no 阅读全文

posted @ 2017-11-27 10:48 Milo_lu 阅读(188) 评论(0) 推荐(0)

2017年11月21日

msp430f5438a Information Flash Seg Write -- Chapter

摘要: Today we are going to study how to write information flash by using msp430f5438a. The size of the information is 512 bytes (1800-19FF). when you start 阅读全文

posted @ 2017-11-21 16:32 Milo_lu 阅读(314) 评论(0) 推荐(0)

2017年11月4日

MFC 编辑框内容更新方法以及滚动条设置

摘要: 在事件处理时调用函数:m_Edit1_path_Ctl.LineScroll(m_Edit1_path_Ctl.GetLineCount()); 更新后代码如下: 1 // FileCrcDlg.cpp : implementation file 2 // 3 4 #include "stdafx. 阅读全文

posted @ 2017-11-04 23:26 Milo_lu 阅读(4767) 评论(0) 推荐(0)

2017年11月2日

通过打开按钮打开文件和通过左键移动打开文件并计算crc

摘要: We have learn open a file by using an open button, here is code below: 1 void CFileCrcDlg::OnOpen() 2 { 3 // TODO: Add your control notification handl 阅读全文

posted @ 2017-11-02 22:55 Milo_lu 阅读(174) 评论(0) 推荐(0)

2017年10月31日

移动文件并将文件路径显示到编辑框内

摘要: This chapter we are study how to get the path of file by using drag drop. Here is the code, enjoy: Thank you! 阅读全文

posted @ 2017-10-31 22:34 Milo_lu 阅读(281) 评论(0) 推荐(0)

2017年10月17日

Aritronix Virtual Device 运行

摘要: 1 Microsoft Windows [Version 6.1.7601] 2 Copyright (c) 2009 Microsoft Corporation. All rights reserved. 3 4 C:\Users\Administrator>cd "Virtual Device" 5 6 C:\Users\Administrator\Virtua... 阅读全文

posted @ 2017-10-17 14:07 Milo_lu 阅读(198) 评论(0) 推荐(0)

2017年10月14日

将一个char类型的数转换成曼切斯特数

摘要: 很多时候,在我们编写RF射频编码时,为了能够更好的接收‘发送数据,往往会用到数据的编码。 而曼切斯特就是其中之一。 这种编码方式,对于简单的单片机非常实用。只需一个定时器就可以将数码接收、发送。 代码如下: Thanks. B.R. 阅读全文

posted @ 2017-10-14 10:03 Milo_lu 阅读(175) 评论(0) 推荐(0)

2017年10月10日

基于单片机定时器---年月日时分秒的算法

摘要: Here ar a part of the code for reference: Please note that the codes should be executed in the timer interrupt routine.changed into seconds by using t 阅读全文

posted @ 2017-10-10 22:02 Milo_lu 阅读(878) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 下一页

导航