Arduino:1.8.11 Hourly Build 2019/12/02 05:33 (Windows 10), 開發板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"stepper:4:1: error: expected ',' or ';' before 'void' void setup() { ^~~~C:UsersuserDesktopstepperstepper.ino: In function 'void setup()':stepper:5:3: error: 'pin' was not declared in this scope pin Mode(12,input); ^~~C:UsersuserDesktopstepperstepper.ino:5:3: note: suggested alternative: 'sin' pin Mode(12,input); ^~~ sinstepper:6:10: error: expected unqualified-id before '.' token Stepper.speed(100); ^C:UsersuserDesktopstepperstepper.ino: In function 'void loop()':stepper:10:10: error: expected unqualified-id before ',' token Stepper,step(200); ^stepper:10:19: error: no matching function for call to 'Stepper::Stepper(int)' Stepper,step(200); ^In file included from C:UsersuserDesktopstepperstepper.ino:1:0:C:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:89:5: note: candidate: Stepper::Stepper(int, int, int, int, int, int) Stepper(int number_of_steps, int motor_pin_1, int motor_pin_2, ^~~~~~~C:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:89:5: note: candidate expects 6 arguments, 1 providedC:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:87:5: note: candidate: Stepper::Stepper(int, int, int, int, int) Stepper(int number_of_steps, int motor_pin_1, int motor_pin_2, ^~~~~~~C:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:87:5: note: candidate expects 5 arguments, 1 providedC:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:86:5: note: candidate: Stepper::Stepper(int, int, int) Stepper(int number_of_steps, int motor_pin_1, int motor_pin_2); ^~~~~~~C:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:86:5: note: candidate expects 3 arguments, 1 providedC:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:83:7: note: candidate: constexpr Stepper::Stepper(const Stepper&) class Stepper { ^~~~~~~C:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:83:7: note: no known conversion for argument 1 from 'int' to 'const Stepper&'C:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:83:7: note: candidate: constexpr Stepper::Stepper(Stepper&&)C:UsersuserDesktoparduino-nightlylibrariesSteppersrc/Stepper.h:83:7: note: no known conversion for argument 1 from 'int' to 'Stepper&&'stepper:11:9: error: 'digitalread' was not declared in this scope while(digitalread(12) == High ) { ^~~~~~~~~~~C:UsersuserDesktopstepperstepper.ino:11:9: note: suggested alternative: 'digitalRead' while(digitalread(12) == High ) { ^~~~~~~~~~~ digitalReadstepper:11:28: error: 'High' was not declared in this scope while(digitalread(12) == High ) { ^~~~C:UsersuserDesktopstepperstepper.ino:11:28: note: suggested alternative: 'sinh' while(digitalread(12) == High ) { ^~~~ sinhstepper:12:27: error: 'Low' was not declared in this scope digitalwrite( 1 , 2 , Low ); ^~~C:UsersuserDesktopstepperstepper.ino:12:27: note: suggested alternative: 'pow' digitalwrite( 1 , 2 , Low ); ^~~ powstepper:12:5: error: 'digitalwrite' was not declared in this scope digitalwrite( 1 , 2 , Low ); ^~~~~~~~~~~~C:UsersuserDesktopstepperstepper.ino:12:5: note: suggested alternative: 'digitalWrite' digitalwrite( 1 , 2 , Low ); ^~~~~~~~~~~~ digitalWriteexit status 1expected ',' or ';' before 'void'This report would have more information with"Show verbose output during compilation"option enabled in File -> Preferences.