Hi, I download "Arduino Create Agent" for my MAC using Chrome and I am using a Nano and a code in Arduino Create web editor. However, i got the next error.
avrdude: no such file or directory
I search in this forum, there are answers for the IDE versión.
I appreaciate any help
Thank you
/usr/local/bin/arduino-cli compile --fqbn arduino:avr:nano --build-cache-path /tmp --output-dir /tmp/2612472053/build --build-path /tmp/arduino-build-E48671F51B54721441360D9A76985B0A --library /mnt/create-efs/webide/bf/cb/bfcb992c4f0fdac6047445fff0bfb4de:harocorzo/libraries_v2/Adafruit_Sensor-1.0.2 --library /mnt/create-efs/webide/bf/cb/bfcb992c4f0fdac6047445fff0bfb4de:harocorzo/libraries_v2/SD --library /mnt/create-efs/webide/bf/cb/bfcb992c4f0fdac6047445fff0bfb4de:harocorzo/libraries_v2/Sparkfun BMP180 --library /mnt/create-efs/webide/bf/cb/bfcb992c4f0fdac6047445fff0bfb4de:harocorzo/libraries_v2/Time --library /mnt/create-efs/webide/bf/cb/bfcb992c4f0fdac6047445fff0bfb4de:harocorzo/libraries_v2/Time-1.5 /tmp/2612472053/Reloj_Tierra
[info] Sketch uses 1746 bytes (5%) of program storage space. Maximum is 30720 bytes.
[info] Global variables use 35 bytes (1%) of dynamic memory, leaving 2013 bytes for local variables. Maximum is 2048 bytes.
Flashing with command:/Users/sinhue/.arduino-create/arduino/avrdude/6.3.0-arduino17/bin/avrdude -C/Users/sinhue/.arduino-create/arduino/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.usbserial-1410 -b115200 -D -Uflash:w:/var/folders/93/y73c06vd5c1bk9q9wdgyc6rr0000gn/T/arduino-create-agent2235101060/Reloj_Tierra.hex:i
Start command: fork/exec /Users/sinhue/.arduino-create/arduino/avrdude/6.3.0-arduino17/bin/avrdude: no such file or directory
The code
// Code by SimonRob and Wallgarden for the 3D Printed Earth Clock
const uint32_t DELAY = 20979137; //20979.137 ms
#include <CheapStepper.h>
CheapStepper stepper(4, 5, 6, 7);
void setup() {
pinMode(2, INPUT);
pinMode(3, INPUT);
}
void loop() {
if (digitalRead(2) == HIGH){
stepper.step(false);
delayMicroseconds(50);
}
if (digitalRead(3) == HIGH){
stepper.step(true);
delayMicroseconds(50);
}
static uint32_t last_time;
if((digitalRead(2) == LOW)&&(digitalRead(3) == LOW)&&(micros() - last_time >= DELAY)){
last_time += DELAY;
stepper.step(false);
}
}