2018年11月19日

摘要: import requests,bs4,sys,webbrowser print('It is searching...') res=requests.get('https://so.csdn.net/so/search/s.do?q='+' '.join(sys.argv[1:])) res.raise_for_status() soup=bs4.BeautifulSoup(res.text... 阅读全文
posted @ 2018-11-19 23:06 花落花开一瞬间 阅读(184) 评论(0) 推荐(0) 编辑

2018年11月15日

摘要: (来源地址:https://i.cnblogs.com/EditPosts.aspx?opt=1) 一、环境:CentOS7 64,VPS,独立IP 域名:将一个域名或二级域名泛解析到VPS服务器上。例如将*.tunnel.mydomain.com解析到VPS的IP。 要注意,此时还需要将tunne 阅读全文
posted @ 2018-11-15 15:06 花落花开一瞬间 阅读(2) 评论(0) 推荐(0) 编辑

2018年11月10日

摘要: /* 这个例子演示了如何建立一个简单的HTTP类服务器。 服务器将根据请求设置GPIO引脚。 http://Serviip IP/GPIO/0将设置GPIO2低电平, http://Serviip IP/GPIO/1将设置GPIO2高电平 Serviip IP是ESP8266模块的IP地址,将当模块 阅读全文
posted @ 2018-11-10 10:52 花落花开一瞬间 阅读(738) 评论(0) 推荐(0) 编辑

2018年11月8日

摘要: /* * Arduino 环境下ESP8266程序 * 功能:连结WiFi,获取IP地址,串口输出IP信息 */ #include void setup() { Serial.begin(115200); Serial.println(); WiFi.begin("WIFI_SID","WIFI_PASSWORD"); Serial.print("Connecting"... 阅读全文
posted @ 2018-11-08 20:44 花落花开一瞬间 阅读(8753) 评论(0) 推荐(0) 编辑
摘要: 一、环境:Arduino 1.8.5+ESP8266 二、设置: 开发板:Generic Esp8266 Module 端口:COM4 三、接线: 1. ESP8266插USB串口板 2.LED接 GP102与GND(串口板上直接连线) 四、代码 阅读全文
posted @ 2018-11-08 16:23 花落花开一瞬间 阅读(3421) 评论(0) 推荐(0) 编辑
摘要: 1.接线如下接线: CH340 ESP8266 Arduino DataPin TXD -> URXD 13 RXD -> UTXD 12 3.3V -> VCC 3.3V 3.3V -> CH_PD 3.3V GND -> GND GND 2.编写代码 阅读全文
posted @ 2018-11-08 11:02 花落花开一瞬间 阅读(7197) 评论(0) 推荐(0) 编辑

2015年7月6日

摘要: MainActivity.javapackage com.example.widgetall;import android.os.Bundle;import android.app.Activity;import android.view.View;import android.content.In... 阅读全文
posted @ 2015-07-06 17:02 花落花开一瞬间 阅读(122) 评论(0) 推荐(0) 编辑

2015年7月4日

摘要: 1. MainActivity.javapackage com.example.textviewapp;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import ... 阅读全文
posted @ 2015-07-04 00:17 花落花开一瞬间 阅读(118) 评论(0) 推荐(0) 编辑

2015年7月3日

摘要: package com.example.buttonapp;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;... 阅读全文
posted @ 2015-07-03 23:33 花落花开一瞬间 阅读(187) 评论(0) 推荐(0) 编辑

2015年6月27日

摘要: 一、界面tabcontrol1 GestureManager1 各tab页添加一些控件二、属性设置tabcontrol1: GestureManage选GestureManager1, Gestures.Standard设置手势,这里只用了左滑和右滑,三、代码:函数:设置活动页面及过度效果,看帮助吧... 阅读全文
posted @ 2015-06-27 12:36 花落花开一瞬间 阅读(3731) 评论(0) 推荐(1) 编辑

导航