2021年3月31日 星期三

[Arm]Program size: Code, RO-data , RW-data, ZI-data 解釋

 

了解...

Keil/MDK 小知識點:Program size: Code, RO-data , RW-data, ZI-data 解釋(什麼意思)https://www.itread01.com/content/1543849446.html

2021年3月25日 星期四

[arduino]Bluetooth(zs-040)



藍芽模組的LED燈號:
連續的快閃:藍芽等待配對中。   --->bluetooth板子的EN腳接地 --->手機可搜尋到裝置
連續的快閃2下後停1下:藍芽已配對成功,運作中。
連續慢速閃爍(約兩秒一次):藍芽已進入AT模式,準備設定。 -->-->bluetooth板子的EN腳3.3V




不錯的文章

藍牙模組(HC05、HC06)常見的指令使用教學
https://blog.cavedu.com/2017/10/18/hc05-hc06/

HC-05藍芽連線
https://sites.google.com/a/ntut.org.tw/jimmyhu/projectlist/hc-05-bluetooth-connect

2021年3月16日 星期二

[arduino]NFC PN532 module

 

不錯的文章

https://ithelp.ithome.com.tw/articles/10220398

PN532 NFC RFID Module
http://wiki.sunfounder.cc/index.php?title=PN532_NFC_RFID_Module

2021年3月14日 星期日

2021年3月11日 星期四

[C#]TabControl Tab標籤背景色設定

 學起來...加油

C# TabControl Tab標籤背景色設定
https://www.itread01.com/p/614894.html

2021年3月5日 星期五

[C#]How to check the status of CAPS / NUMLOCK status


不錯的文章
How to check the status of CAPS / NUMLOCK status in C#.NET
https://dhandrohit.blogspot.com/2011/03/how-to-check-status-of-caps-numlock.html

[C#]mouse do drag drop



namespace mouse_dragdrop
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void textBox1_MouseMove(object sender, MouseEventArgs e)
        {
            if ((e.Button & MouseButtons.Left) == MouseButtons.Left)//判斷是否按下滑鼠左鍵
            {
                Cursor old_cursor = this.Cursor;
                this.Cursor = new Cursor("arrow_l.cur");
                DragDropEffects dropEffect = textBox1.DoDragDrop(textBox1.Text, DragDropEffects.Copy | DragDropEffects.Link);
                this.Cursor = old_cursor;
            }
         }

        private void textBox2_DragEnter(object sender, DragEventArgs e)
        {
            e.Effect = DragDropEffects.Copy;//設定複製操作
        }

        private void textBox2_DragDrop(object sender, DragEventArgs e)
        {
            textBox2.Text = e.Data.GetData(DataFormats.Text).ToString();
        }
    }
}


不錯的文章

C# 基礎拖拉(drag & drop practicts)處理方式
https://petereagle1.wordpress.com/2013/09/23/c-%E5%9F%BA%E7%A4%8E%E6%8B%96%E6%8B%89drag-drop-practicts%E8%99%95%E7%90%86%E6%96%B9%E5%BC%8F/

2021年3月4日 星期四

[raspberry] cross-compile 建立學習

一知半解......


[進階] 安裝 Raspberry Pi 的 Toolchain       -->試過這個可以運作,但要選 -x64版本
https://www.raspberrypi.com.tw/tag/cross-compiler/

What to install under Ubuntu to cross-compile for a Pi4 running Raspbian "buster"?https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=261900&sid=e30a9d49e20c926d07e0a5eb823fa256

CODE CRAFT: CROSS COMPILING FOR THE RASPBERRY PI
https://hackaday.com/2016/02/03/code-craft-cross-compiling-for-the-raspberry-pi/

ross-compile and deploy Qt 5.12 for Raspberry Pi
https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/


Kernel building
https://www.raspberrypi.org/documentation/linux/kernel/building.md

Compiling Raspberry pi 0 W Kernel
https://www.linkedin.com/pulse/compiling-raspberry-pi-0-w-kernel-athul-pk

2021年3月3日 星期三

[raspberry]GPIO操控

 https://hackmd.io/reU-6s5XTUGacTD_5IMgmA?view

不錯的文章



GPIO Programming: Using the sysfs Interface
https://www.ics.com/blog/gpio-programming-using-sysfs-interface

中斷突進!簡單的 IRQ 程式
https://ithelp.ithome.com.tw/articles/10253026

[C#]模擬鍵盤操作SendKey()

連續 SendKeys.SendWait 比較像鍵盤輸入,會有停頓的效果....

textBox1.Focus();
SendKeys.SendWait("A");
SendKeys.SendWait("{B 10}");
SendKeys.SendWait("+C");

C# 模擬鍵盤操作SendKey(),SendKeys()
https://www.itread01.com/content/1548344359.html

2021年3月1日 星期一