Wymiana arduino 2560

Czyli co i jak podłączyć żeby działało
skuterdriver
Konto z ograniczeniami
Postów w temacie: 4
Posty: 5
Rejestracja: 04 kwie 2020, 15:10

Wymiana arduino 2560

Post autor: skuterdriver »

Przy podłączaniu drukarki do komputera spaliło mi sie gniazdo usb w arduino , chcę teraz wymienić samo arduino.
Jako, że dawno już nie bawiłem się drukarką to mam troche z tym problem , ponieważ przy zmianie na nowa płytkę , wyświetlacz pokazuje cały czas czarne kwadraty .
Wgrałem marlina ,ale w dalszym ciągu nic się nie zmienia , nie wiem już co jest problemem .
Załączniki
IMG_20200405_124311.jpg
IMG_20200405_124245.jpg
Awatar użytkownika
Berg
Zasłużony
Postów w temacie: 1
Posty: 7570
Rejestracja: 05 lis 2016, 11:57
Lokalizacja: Kraków
Drukarka: Lume, K8400, HC Evo
x 2675

Re: Wymiana arduino 2560

Post autor: Berg »

by spalić to gniazdo to musiało być gdieś zwarcie. Pewnie nadal jest.
skuterdriver
Konto z ograniczeniami
Postów w temacie: 4
Posty: 5
Rejestracja: 04 kwie 2020, 15:10

Re: Wymiana arduino 2560

Post autor: skuterdriver »

Zwarcie zrobil komputer , teraz juz jest wszystko dobrze.
Kwestia wgrania marlina na nowe arduino ,mam z tym problem bo bardzo dawno na tym dzialalem.
mcxmcx
Drukarz
Postów w temacie: 1
Posty: 2474
Rejestracja: 09 kwie 2017, 21:32
x 310

Re: Wymiana arduino 2560

Post autor: mcxmcx »

Pokrec kontrastem w wyświetlaczu.
Jeżeli przypadkiem podam ceny w GBP to sobie kolego, koleżanko, pomnóż razy pięć.
skuterdriver
Konto z ograniczeniami
Postów w temacie: 4
Posty: 5
Rejestracja: 04 kwie 2020, 15:10

Re: Wymiana arduino 2560

Post autor: skuterdriver »

Znalazłem marlina który był skonfigurowany pod moja drukarke , ale po kompilacji wyskakuja taki błedy .

Kod: Zaznacz cały

Arduino:1.8.12 (Windows Store 1.8.33.0) (Windows 10), Płytka:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\ConfigurationStore.cpp:3:0:

sketch\temperature.h:157:42: warning: extra tokens at end of #ifdef directive

 #ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0

                                          ^~

In file included from sketch\Marlin_main.cpp:42:0:

sketch\temperature.h:157:42: warning: extra tokens at end of #ifdef directive

 #ifdef THERMAL_RUNAWAY_PROTECTION_PERIOD && THERMAL_RUNAWAY_PROTECTION_PERIOD > 0

                                          ^~

sketch\Marlin_main.cpp:1606:8: warning: extra tokens at end of #endif directive [-Wendif-labels]

 #endif SCARA

        ^~~~~

sketch\Marlin_main.cpp:2597:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

         LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                    ^

In file included from sketch\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\Marlin_main.cpp:44:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^~~~~~

In file included from sketch\Marlin.h:10:0,

                 from sketch\Marlin_main.cpp:30:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^~~~~~

In file included from sketch\SdBaseFile.cpp:24:0:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^~~~~~

In file included from sketch\Marlin.h:10:0,

                 from sketch\SdBaseFile.cpp:21:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^~~~~~

sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::getpos(fpos_t*)':

SdBaseFile.cpp:298:8: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   pos->position = curPosition_;

        ^~~~~~~~

SdBaseFile.cpp:299:8: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   pos->cluster = curCluster_;

        ^~~~~~~

sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::setpos(fpos_t*)':

SdBaseFile.cpp:1496:23: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   curPosition_ = pos->position;

                       ^~~~~~~~

SdBaseFile.cpp:1497:22: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   curCluster_ = pos->cluster;

                      ^~~~~~~

In file included from sketch\SdFile.h:27:0,

                 from sketch\SdFile.cpp:23:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^~~~~~

In file included from sketch\Marlin.h:10:0,

                 from sketch\SdFile.cpp:20:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^~~~~~

exit status 1
using typedef-name 'fpos_t' after 'struct'

Ten raport powinien zawierać więcej informacji jeśli w 
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"
skuterdriver
Konto z ograniczeniami
Postów w temacie: 4
Posty: 5
Rejestracja: 04 kwie 2020, 15:10

Re: Wymiana arduino 2560

Post autor: skuterdriver »

OK ogarnąłem już sam , potrzebowalem starszej wersji arduino .
zamykam temat
ODPOWIEDZ

Wróć do „Elektronika sterująca, wyświetlacze”