Добрый день! Все забыл - сижу не могу понять в чем проблема. При компиляции вылазит вот такой текст. В плату Uno все загружается но не работает. В плату Nano не загружается, по мимо ошибки при компиляции. Подскажите что делать плиз!)
вылазит текст только при загрузке в Нано:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x0d
Проблема загрузки в плату. Помощь по загрузке:
http://www.arduino.cc/en/Guide/Troubleshooting#upload .
Текст ошибок при компиляции:
C:\GyverDrink_v1.0\GyverDrink_v1.0\GyverDrink_v1.0.ino:53:0: warning: "COLOR_DEBTH" redefined
#define COLOR_DEBTH 2 // цветовая глубина: 1, 2, 3 (в байтах)
^
In file included from C:\Program Files (x86)\Arduino\libraries\microLED/microLED.h:25:0,
from C:\GyverDrink_v1.0\GyverDrink_v1.0\GyverDrink_v1.0.ino:46:
C:\Program Files (x86)\Arduino\libraries\microLED/ws2812_send.h:79:0: note: this is the location of the previous definition
#define COLOR_DEBTH 3 // по умолчанию 24 бита
^
In file included from C:\GyverDrink_v1.0\GyverDrink_v1.0\GyverDrink_v1.0.ino:46:0:
C:\Program Files (x86)\Arduino\libraries\microLED/microLED.h:62:2: warning: 'typedef' was ignored in this declaration
};
^
C:\GyverDrink_v1.0\GyverDrink_v1.0\c_func.ino: In function 'void serviceMode()':
C:\GyverDrink_v1.0\GyverDrink_v1.0\c_func.ino:6:61: warning: invalid conversion from 'byte* {aka unsigned char*}' to 'int8_t* {aka signed char*}' [-fpermissive]
disp.runningString(serviceText, sizeof(serviceText), 150);
^
In file included from C:\GyverDrink_v1.0\GyverDrink_v1.0\GyverDrink_v1.0.ino:44:0:
C:\Program Files (x86)\Arduino\libraries\GyverTM1637/GyverTM1637.h:46:7: note: initializing argument 1 of 'void GyverTM1637::runningString(int8_t*, byte, int)'
void runningString(int8_t DispData[], byte amount, int delayMs); // бегущая строка (array, sizeof(array), задержка в мс)
^