0
任何人都可以帮助解决此错误消息吗? 刚买了一个Arduino UNO &已经 非常感谢robot_arm1:3:错误:在'/'令牌之前预期的非限定标识
robot_arm1卡:3:错误:之前 '/' 令牌
*/
pinMode(buttonPin, INPUT_PULLUP);
Serial.print("Initializing SD card..."); // make sure that the default chip select pin is set to // output, even if you don't use it: pinMode(10, OUTPUT);
// see if the card is present and can be initialized: if (!SD.begin(chipSelect)) { Serial.println("Card failed, or not present"); // don't do anything more: return; } Serial.println("card initialized.");
}
void loop() {
请添加更多代码并进行格式化。指出造成错误的线是什么。 – jabujavi
谢谢,我试图粘贴完整的代码,但stackoverflow有一个限制。 – Steve765
完整的代码在这里:https://github.com/Dileepmeom/Arduino-Robotic-Arm---Copt-Cat/commit/d11fb86573a43bebe0f71824b45c313ac2cb32ae,我很想得到这个工作,因为它会很棒!你能看看它是否适用于你的ide吗?非常感谢 – Steve765