เขียน arduino load cell อยากรบกวนช่วยอธิบายหน่อยครับ แล้วอยู่โหลดเซลล์ไม่ทำงาน

#include "HX711.h"
// HX711 circuit wiring
const int LOADCELL_DOUT_PIN = 3;
const int LOADCELL_SCK_PIN = 2;
#define calibration_factor  103000   _________________________________________ ไม่ค่อยเข้าใจ
char Size = '0' ;
HX711 scale;
void setup () {
  Serial.begin(9600) ;
  Serial.println("ArduinoAll Calibrating...");
  scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);
  scale.set_scale(calibration_factor) ; _______________________________________ ไม่ค่อยเข้าใจ
  scale.tare();
  Serial.println("OK start : ");
}
void loop() {
  Serial.print("Weight:");
  Serial.print(scale.get_units(),3); _______________________________________ ไม่ค่อยเข้าใจ
  Serial.println(" kg");

 
แก้ไขข้อความเมื่อ
แสดงความคิดเห็น
โปรดศึกษาและยอมรับนโยบายข้อมูลส่วนบุคคลก่อนเริ่มใช้งาน อ่านเพิ่มเติมได้ที่นี่