原创 CentOS7安裝CuteCom

以下所有操作均在root權限下完成! ①下載rpm安裝包 http://springdale.math.ias.edu/data/puias/unsupported/6/i386/ 搜索cutecom找到cutecom-0.22.0-1.

原创 petalinux-build error: Failed to copy images to TFTPBOOT /tftpboot

去掉tftpboot的設置 petalinux-config ->  Image Packaging Configuration -> Copy final images to tftpboot 

原创 Android--Execution failed for task ':app:lintVitalRelease'.

 可以在 【項目】\app\build.gradle中的android標籤下添加 lintOptions { checkReleaseBuilds false abortOnError false }  

原创 C#委託的簡單使用

C#利用委託實現將類中數據傳到APP,使用步驟如下: ①在Class中聲明一個委託,再創建一個事件 //Define a delegate public delegate void Mydelegate(byte[] data = nu

原创 C#識別特定的串口號

命名空間 using System.IO.Ports; //Serial using System.IO; using System.Runtime.InteropServices; //Struct using System.Ma

原创 Linux--如何開啓FTP服務

① 首先用命令檢查是否安裝了vsftpd vsftpd -version或者which vsftpd 如果沒有安裝  執行命令:sudo apt-get install vsftpd 安裝完成後,再次輸入vsftpd -version命令

原创 C#追加Log到TextBox

/// <summary> /// Output stauts log /// </summary> /// <param name="str"></param> private void OutStatusLog(string str

原创 【USB】Zadig 工具的使用說明與下載

參考鏈接:http://zadig.akeo.ie/https://github.com/pbatard/libwdi/wiki/Zadig  Zadig是USB驅動安裝變得更容易。  Zadig是一個安裝通用USB驅動程序的Window

原创 Android中安裝ADB工具

簡介 adb工具即Android Debug Bridge(安卓調試橋) tools。它就是一個命令行窗口,用於通過電腦端與模擬器或者真實設備交互。在某些特殊的情況下進入不了系統,adb就派上用場啦!(簡單理解就是類似Windows下 C

原创 Centos7鏡像下載及安裝

http://mirrors.aliyun.com/centos/7/isos/x86_64/   CentOS-7-x86_64-DVD-2003.iso 標準安裝版(推薦) CentOS-7-x86_64-Everything-200

原创 Ubuntu和主機共享文件夾

如果在選擇自動掛載後,不能自動mount,執行以下命令: mount -t vboxsf share /media/sf_Share  

原创 Windows的.winmd文件解析

簡介 使用Microsoft接口定義語言(MIDL )創建的文件,包含元數據,它表示自定義的Windows運行時組件的API ,寫的DLL文件格式,但並沒有包含像傳統的.DLL文件中的代碼,它的格式是使用的.NET框架。 要創建WINMD

原创 在excel表中能引用另一個sheet表中的數據,以下拉菜單形式篩選

效果如下: 實驗如下: 在Excel中選中某個單元格後,選擇工具欄中的數據->數據驗證->數據驗證     在來源中選擇你想要選擇的sheet的分佈。   

原创 Visual Studio的運行時庫

如果編譯的Visual Studio的exe在別的電腦出現下面的錯誤,就需要運行時庫 Visual Studio的運行時庫地址: https://www.microsoft.com/en-us/download/details.asp