Сергей Кузнецов
Оракул
(56977)
2 месяца назад
Так смени прошивку и все
Leo NasУченик (121)
2 месяца назад
а потом ошибка.
может с кодом что-то не так?:
#include <Servo.h>
Servo servo1;
void setup() {
servo1.attach(5) ;
}
void loop() {
servo1.write(0);
delay(1500);
servo1.write(180);
delay(1500);
}
Leo NasУченик (121)
2 месяца назад
Missing programmeravrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa3
Leo NasУченик (121)
2 месяца назад
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa3
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa3
Сергей КузнецовОракул (56977)
2 месяца назад
Это означает что программатор не может прошить по причине не распознавания платы. Или она негодная или же настройки неправильные
Leo NasУченик (121)
2 месяца назад
Я поменял на Arduino nano ESP32 и ошибка такая:
ПРЕДУПРЕЖДЕНИЕ: библиотека Servo должна запускаться на архитектурах avr, megaavr, sam, samd, nrf52, stm32f4, mbed, mbed_nano, mbed_portenta, mbed_rp2040 и может быть несовместима с вашей платой на архитектуре esp32.
In file included from C:\Users\Leo\Downloads\sketch_mar19a\sketch_mar19a.ino:1:
C:\Users\Leo\AppData\Local\Arduino15\libraries\Servo\src/Servo.h:77:2: error: #error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
#error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
^~~~~