การเขียนโปรแกรม Labview Interface For Arduino (LIFA)

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • การเขียนโปรแกรม Labview Interface For Arduino (LIFA) เบื้องต้น สำหรับท่านที่ กำลังหาโปรเจค นับว่าดีเลยทีเดียว ด้วย ฟังก์ชันที่หลากหลายของ Labview สามารถใช้งานได้กับ บอร์ด Arduino ทำให้เราได้ทดลองใช้งาน กันอย่างสนุกและเต็มประสิทธิภาพครับ www.108engineer...
    แผ่นสอน PLC และ Solidworks เป็นไฟล์ภาษาไทย
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 7

  • @plesniperog9030
    @plesniperog9030 7 ปีที่แล้ว

    Verify/Upload ไม่ผ่านครับ ต้องแก้อย่างไงครับ
    Arduino: 1.8.0 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    C:\Users\WIN8~1.1PR\AppData\Local\Temp\cctDysog.ltrans0.ltrans.o: In function `setup':
    C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base/LIFA_Base.ino:39: undefined reference to `syncLV()'
    C:\Users\WIN8~1.1PR\AppData\Local\Temp\cctDysog.ltrans0.ltrans.o: In function `loop':
    C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base/LIFA_Base.ino:59: undefined reference to `checkForCommand()'
    collect2.exe: error: ld returned 1 exit status
    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @ใบมะพร้าว
    @ใบมะพร้าว 3 ปีที่แล้ว

    พี่ครับของผมcomplie​ lifa​ base ไม่ผ่านอ่ะครับ
    ติดตรงนี้ครับ**
    Multiple libraries were found for "Servo.h"
    Used: C:\Users\ASUS\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Servo
    Not used: C:\Program Files (x86)\Arduino\libraries\Servo
    In file included from C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LabVIEWInterface.ino:34:
    AFMotor.h:9:10: fatal error: avr/io.h: No such file or directory
    9 | #include
    | ^~~~~~~~~~
    compilation terminated.
    exit status 1
    avr/io.h: No such file or directory

  • @jameorio4580
    @jameorio4580 4 ปีที่แล้ว

    ผม​ complie​ lifa​ base.ไม่ผ่าน​มีวิธีแก้ไขไหมครับ

  • @boomphurinat3462
    @boomphurinat3462 8 ปีที่แล้ว

    ขอบคุณมากเลยนะครับ ทำมาอีกเรื่อยๆนะครับ

  • @MrSurachaiCH
    @MrSurachaiCH 7 ปีที่แล้ว +1

    compile ไม่ผ่านเลยครับ
    ---------------------------------------------------------------------------------------------------------------------
    error
    Simple_IR_Receiver:17: error: 'IRrecv' does not name a type
    Simple_IR_Receiver:19: error: 'decode_results' does not name a type
    Simple_IR_Receiver.ino: In function 'void setup()':
    Simple_IR_Receiver:24: error: 'irrecv' was not declared in this scope
    Simple_IR_Receiver.ino: In function 'void loop()':
    Simple_IR_Receiver:28: error: 'irrecv' was not declared in this scope
    Simple_IR_Receiver:28: error: 'results' was not declared in this scope
    ----------------------------------------------------------------------------------------------------------
    #include
    #include
    /*
    * IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv
    * An IR detector/demodulator must be connected to the input RECV_PIN.
    * Version 0.1 July, 2009
    * Copyright 2009 Ken Shirriff
    * Modified By Sam Kristoff
    * arcfn.com
    */
    #include
    int RECV_PIN = 2;
    IRrecv irrecv(RECV_PIN);
    decode_results results;
    void setup()
    {
    Serial.begin(115200);
    irrecv.enableIRIn(); // Start the receiver
    }
    void loop() {
    if (irrecv.decode(&results)) {
    Serial.write( (results.value >> 24 )& 0xFF);
    Serial.write( (results.value >> 16) & 0xFF);
    Serial.write( (results.value >> 8) & 0xFF);
    Serial.write( (results.value >> 0) & 0xFF);
    irrecv.resume(); // Receive the next value
    }
    }

  • @khemmathadmeeprapai6821
    @khemmathadmeeprapai6821 7 ปีที่แล้ว

    สอบถามหน่อยครับ ถ้าจะให้เชื่อมต่อ แบบใช้ Bluetooth ต้องทำยังไงครับ