適用于 Intel® Galileo 主機板的 LCD 閃爍範例

文件

安裝與設定

000006511

2020 年 02 月 13 日

本示例列印 Hello World!液晶屏和閃爍的方塊。我們使用 Arduino * IDE 1.5.3 範例所提供的程式碼。

硬體

  • Intel® Galileo 主機板
  • Adafruit LCD 16x2
  • Potentiometer
  • Breadboard
  • 纜線

有關

  1. 使用您的纜線進行以下連接。
     
    Intel® Galileo 主機板Breadboard
    GND負條
    5V正停車帶

  2. 將 potentiometer 和 LCD 放置在 breadboard 上,並進行以下連接:
     
    Intel Galileo 主機板BreadboardPotentiometerLCD
     負條Pin 1 
      Pin 2Pin 3
     正停車帶Pin 3 
     負條 針腳1、5和16
     正停車帶 針腳2和15
    Pin 12  針腳4
    Pin 11  Pin 6
    Pin 5  Pin 11
    針腳4  Pin 12
    Pin 3  Pin 13
    Pin 2  Pin 14

  3. 開啟Arduino * IDE
  4. 按一下工具 ≫ 主機板,然後選取Intel Galileo
  5. 按一下「工具」 ≫ 序列埠,然後選取 Intel Galileo 主機板所連接的Com #
  6. 按一下檔案> ≫ LiquidCrystal 的範例,然後選擇閃爍
  7. 按一下「上傳」圖示。

開路

LCD Blink example

 

會議這幅影像是使用Fritzing* 製作。