Hello,
I have a simple arudiono sketch (move1.ino)
int motor = 7;
void setup() {
// initialize the digital pin as an output.
pinMode(motor, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(motor, HIGH);
delay(5000);
digitalWrite(motor, LOW);
delay(5000);
}
I want to compile and run this file from the command line instead of the IDE. So I followed the steps mentioned here Arduino Playground - WindowsCommandLine
I tried in the command line abuild -c move1.ino , but I get the following error :
The system cannot find the path specified.
avr-g++: move1.ino: linker input file unused because linking not done
abuild.bat: *** ERROR: cannot compile move1.ino using command:
abuild.bat: *** ERROR: avr-g++ -c -g -Os "-IC:\Program Files (x86)\Arduino\hard
are\cores\arduino" -I"D:\Arduiono\New folder\move1" -I"D:\Arduiono\New folder
bj" -mmcu=ATmega328 -DF_CPU=16000000 -DABUILD_BATCH=1 -fno-exceptions move1.ino
-o.\obj\move1.cpp.o
I am a newbie in Arduino, so I don't understand what the error mean or how can I solve it , and I didn't find much help on the internet . So if anyone can help me I would be greatful.
Thanks