Arduino 上传程序错误

Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), 开发板:"Arduino Uno"

sketch_mar16b:8:6: error: no matching function for call to 'RFID::RFID()'
 RFID rfid;                        //创建一个可变类型的RFID
      ^~~~
In file included from D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:1:0:
C:\Users\dell\Documents\Arduino\libraries\RFID/RFID.h:123:2: note: candidate: RFID::RFID(int, int)
  RFID(int chipSelectPin, int NRSTPD);
  ^~~~
C:\Users\dell\Documents\Arduino\libraries\RFID/RFID.h:123:2: note:   candidate expects 2 arguments, 0 provided
C:\Users\dell\Documents\Arduino\libraries\RFID/RFID.h:120:7: note: candidate: constexpr RFID::RFID(const RFID&)
 class RFID
       ^~~~
C:\Users\dell\Documents\Arduino\libraries\RFID/RFID.h:120:7: note:   candidate expects 1 argument, 0 provided
C:\Users\dell\Documents\Arduino\libraries\RFID/RFID.h:120:7: note: candidate: constexpr RFID::RFID(RFID&&)
C:\Users\dell\Documents\Arduino\libraries\RFID/RFID.h:120:7: note:   candidate expects 1 argument, 0 provided
sketch_mar16b:10:1: error: 'uchar' does not name a type; did you mean 'char'?
 uchar serNum[5];                  //创建一个数组来储存ID
 ^~~~~
 char
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino: In function 'void setup()':
sketch_mar16b:17:8: error: 'class RFID' has no member named 'begin'
   rfid.begin(7, 5, 4, 3, 6, 2);   //rfid.begin(IRQ_PIN,SCK_PIN,MOSI_PIN,MISO_PIN,NSS_PIN,RST_PIN)
        ^~~~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino: In function 'void loop()':
sketch_mar16b:29:3: error: 'uchar' was not declared in this scope
   uchar status;
   ^~~~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:29:3: note: suggested alternative: 'char'
   uchar status;
   ^~~~~
   char
sketch_mar16b:30:9: error: expected ';' before 'str'
   uchar str[MAX_LEN];
         ^~~
sketch_mar16b:32:3: error: 'status' was not declared in this scope
   status = rfid.request(PICC_REQIDL, str);
   ^~~~~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:32:3: note: suggested alternative: 'static'
   status = rfid.request(PICC_REQIDL, str);
   ^~~~~~
   static
sketch_mar16b:32:17: error: 'class RFID' has no member named 'request'; did you mean 'reset'?
   status = rfid.request(PICC_REQIDL, str);
                 ^~~~~~~
                 reset
sketch_mar16b:32:38: error: 'str' was not declared in this scope
   status = rfid.request(PICC_REQIDL, str);
                                      ^~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:32:38: note: suggested alternative: 'sqrt'
   status = rfid.request(PICC_REQIDL, str);
                                      ^~~
                                      sqrt
sketch_mar16b:38:8: error: 'class RFID' has no member named 'showCardType'
   rfid.showCardType(str);
        ^~~~~~~~~~~~
sketch_mar16b:47:12: error: 'serNum' was not declared in this scope
     memcpy(serNum, str, 5);
            ^~~~~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:47:12: note: suggested alternative: 'setbuf'
     memcpy(serNum, str, 5);
            ^~~~~~
            setbuf
sketch_mar16b:48:10: error: 'class RFID' has no member named 'showCardID'
     rfid.showCardID(serNum);      //show the card ID
          ^~~~~~~~~~
sketch_mar16b:51:12: error: 'id' was not declared in this scope
     uchar* id = serNum;
            ^~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:51:12: note: suggested alternative: 'rfid'
     uchar* id = serNum;
            ^~
            rfid
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_feb24a.ino: In function 'void setup()':
sketch_feb24a:39:10: error: redefinition of 'void setup()'
     void setup (void) {
          ^~~~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:12:6: note: 'void setup()' previously defined here
 void setup()
      ^~~~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_feb24a.ino: In function 'void loop()':
sketch_feb24a:66:10: error: redefinition of 'void loop()'
     void loop (void) {
          ^~~~
D:\WeGameApps\sketch_feb24a\sketch_mar16b\sketch_mar16b.ino:27:6: note: 'void loop()' previously defined here
 void loop()
      ^~~~
"Servo.h" 对应多个库
 已使用: C:\Users\dell\Documents\Arduino\libraries\Servo
 未使用:C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\Servo
exit status 1
no matching function for call to 'RFID::RFID()'


在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
 

求大佬帮帮

我也想知道阿