原创 2、Esp8266 看門狗

non-OS SDK 不支持搶佔任務或進程切換。因此開發者需要自行保證程序的正確執行,用戶代碼不能長期佔用 CPU。否則會導致看門狗復位,ESP8266 重啓。 如果某些特殊情況下,用戶線程必須執行較長時間(比如大於 500 ms

原创 eclipse 取消代碼中每行的開始和結尾出現多餘的特殊符號

解決辦法: window -> preferences -> general -> editors -> text editors ->show whitespace charactors 把選項前面的勾去掉就好了。 參考鏈接

原创 python文件打包爲.exe可執行文件

安裝 使用pip命令安裝:pip install PyInstaller 打包 pyinstaller -F pyinstaller -F H:\Python\PycharmProjects\MyTest\studentsyste

原创 3、Esp8266 延時函數

API 微妙級函數 自定義毫秒延時函數 // 毫秒延時函數(不要延時太久) //=========================================== void ICACHE_FLASH_ATTR delay_m

原创 將Activemq安裝爲系統服務

安裝 以管理員身份運行InstallService.bat。 查看

原创 Python 字符串轉爲字典

user_info = '{"name" : "john", "gender" : "male", "age": 28}' 使用json user_info = '{"name" : "john", "gender" :

原创 Spring 04 基於註解的 IOC 配置

入門 /** * 賬戶的業務層實現類 * @author 黑馬程序員 * @Company http://www.ithiema.com * @Version 1.0 */ @Component("accountService")

原创 10、ESP8266 AP_UDP_Server

API 網絡連接結構體 espconn struct espconn { /** type of the espconn (TCP, UDP) */ enum espconn_type type; //

原创 6、Esp8266 軟件定時器

定時器的函數在任務中被執行。因爲任務可能被中斷,或者被其他高優先級的任務延遲,因此以下 os_timer 系列的接口並不能保證定時器精確執行。 注意: • 對於同一個 timer, os_timer_arm 或 os_timer_

原创 9、ESP8266 AP模式

API 初始化ESP8266_AP模式 查看ESP8266的工作模式 獲取ESP8266_AP模式下的IP地址

原创 C語言 sscanf strstr

sscanf 名稱: sscanf() - 從一個字符串中讀進與指定格式相符的數據. 函數原型: Int sscanf( string str, string fmt, mixed var1, mixed var2 … ); in

原创 SpringBoot pom文件分析

父項目 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent

原创 12、ESP8266 STA_Mode

station_config struct station_config { uint8 ssid[32]; uint8 password[64]; uint8 bssid_set; // Note:

原创 windows上安裝jupyter

安裝 pip install jupyter 運行 jupyter notebook //jupyter notebook --ip=127.0.0.1 --port=8000 在windows中默認的啓動路徑是:C:\us

原创 pycharm本地環境和虛擬環境

pycharm虛擬環境和本地環境有啥區別 方便於不同的項目切換,不然一個項目中安裝太多庫,有些還需要卸載不需要的庫,再安裝需要的庫,比較麻煩,所以就有了虛擬環境,虛擬環境和本地環境的庫互不干擾,獨立存在的。 本地環境 虛擬環境