- 博客(7)
- 资源 (20)
- 收藏
- 关注
原创 qt之文件操作
1、QFindDialog 用来提供给用户打开一个文件 QStringfileName= QFileDialog::getOpenFileName(); //打开文件 if(fileName.isEmpty()) //如果文件是空的,直接返回 return; QFileInfo fileInfo(fileNam
2013-01-21 13:23:01 1062
原创 qt之tcp
1、需要在pro里添加network2、qtcpserver qtcpsocket tcp客户端 tcpSocket = new QTcpSocket(this); connect(tcpSocket, SIGNAL(connected()), this, SLOT(connectedInt())); connect(tcpSocket, SIGNAL(d
2013-01-21 12:56:19 1258
原创 qt 之 mainwidget
1、新建菜单mainwindow类里添加的private: Ui::MainWindow *ui; QMenu *menuBox[5]; QAction *actionFile[6];mainwindow构造函数里的 menuBox[0]=menuBar()->addMenu(tr("&File")); //新建菜单项
2013-01-21 12:08:07 3133
原创 二极管
常用的1N4000系列二极管耐压比较如下:型号 1N4001 1N4002 1N4003 1N4004 1N4005 1N4006 1N4007反向耐压(V) 50 100 200 400 600 800 1000正向电流(A) 均为1 正向压降为1V正向浪涌电流
2013-01-14 15:48:52 1292
原创 LWIP 分析二之udp
直接上upd_inputvoidudp_input(struct pbuf *p, struct netif *inp){ struct udp_hdr *udphdr; struct udp_pcb *pcb, *prev; struct udp_pcb *uncon_pcb; struct ip_hdr *iphdr; u16_t src, dest;
2013-01-04 16:31:34 4528 1
原创 lwip 分析一
一、接收端 1、通过ehternetif_inputvoid ethernetif_input(struct netif *netif){ struct ethernetif *ethernetif; struct eth_hdr *ethhdr; struct pbuf *p; ethernetif = netif->state; /* mov
2013-01-04 15:32:00 6609
原创 lwip 移植
一、源码目录结构 api 、 core、netif、 include core下又有IPV4 、 IPV6 、 SNMP 和.c文件 include下又有IPV4、IPV6、LWIP、netif netif下的文件有 1. ethernetif.c这里主要涉及到具体的硬件 2.etharp.c 这里有个函数eth
2013-01-04 14:55:18 8999 4
《HTML5移动Web开发指南》高清完整.pdf版下载
2017-02-08
STM32 中文手册
2012-08-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人