Cov txheej txheem:

Yuav Ua Li Cas Xa Cov Ntaub Ntawv Los Ntawm M5Stack StickC rau Delphi: 6 Cov Kauj Ruam
Yuav Ua Li Cas Xa Cov Ntaub Ntawv Los Ntawm M5Stack StickC rau Delphi: 6 Cov Kauj Ruam

Video: Yuav Ua Li Cas Xa Cov Ntaub Ntawv Los Ntawm M5Stack StickC rau Delphi: 6 Cov Kauj Ruam

Video: Yuav Ua Li Cas Xa Cov Ntaub Ntawv Los Ntawm M5Stack StickC rau Delphi: 6 Cov Kauj Ruam
Video: Xav kawm ntawv keej yuav ua li cas 2024, Hlis ntuj nqeg
Anonim

Hauv daim vis dis aus no peb yuav kawm paub yuav xa qhov tseem ceeb ntawm StickC board mus rau Delphi VCL Application siv Visuino li cas.

Saib cov yees duab.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi

- M5StickC ESP32: koj tuaj yeem tau txais nws ntawm no

- Visuino program: Rub tawm Visuino

Nco tseg: Txheeb xyuas cov ntawv qhia no ntawm yuav ua li cas rau Nruab StickC ESP32 pawg thawj coj

- Delphi - Embarcadero Txuas

Kawm yuav ua li cas rau nruab Delphi ntawm no

- Mitov Kev Sib Txuas Lus rau Delphi, rub tawm ntawm no

Kauj Ruam 2: Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type

Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type

Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cuab Yeej" khawm ntawm Arduino tivthaiv (Daim duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "M5 Stack Stick C" raws li qhia hauv daim duab 2

Kauj Ruam 3: Hauv Visuino Connect Components

Hauv Visuino Connect Components
Hauv Visuino Connect Components

Txuas tus pin (nrog tus nqi uas koj xav xa mus rau Delphi daim ntawv thov) mus rau tus lej [0] tus pin

hauv peb qhov xwm txheej peb txuas lub roj teeb hluav taws xob tus pin rau cov lej [0] tus pin

Kauj Ruam 4: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code

Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code

Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.

Kauj Ruam 5: Pib Delphi thiab Ntxiv Cheebtsam

Pib Delphi thiab Ntxiv Cheebtsam
Pib Delphi thiab Ntxiv Cheebtsam
Pib Delphi thiab Ntxiv Cheebtsam
Pib Delphi thiab Ntxiv Cheebtsam
Pib Delphi thiab Ntxiv Cheebtsam
Pib Delphi thiab Ntxiv Cheebtsam
  • Hauv Delphi tsim Tshiab Windows Vcl Application
  • Hauv palette qhov rai pom 'TCLComPort' tivthaiv thiab rub nws mus rau Daim Ntawv
  • Hauv Tus Kws Tshuaj Ntsuam Xyuas teeb tsa qhov chaw nres nkoj ntawm StickC board (koj tuaj yeem pom tus lej chaw nres nkoj hauv Arduino> Cuab Yeej> Chaw nres nkoj
  • Hauv palette qhov rai pom 'CLTerminal' tivthaiv thiab rub nws mus rau Daim Ntawv
  • Hauv Tus Kws Tshuaj Ntsuam Xyuas ob zaug nyem rau ntawm 'InputPin' thiab hauv lub qhov rai sib txuas xaiv 'CLComPort1'
  • Nyem rau ntawm Green Run khawm hauv Delphi

Kauj ruam 6: Ua si

Ua si
Ua si

Yog tias koj siv lub zog M5Sticks (txuas ntawm USB rau lub khoos phis tawj), nws yuav pib xa cov ntaub ntawv mus rau Delphi daim ntawv thov.

Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm M5Sticks nrog Visuino thiab Delphi. Kuj txuas nrog yog Visuino project, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no thiab Delphi qhov haujlwm uas koj tuaj yeem rub nws ntawm no.

Pom zoo: