Crazy display after not using it for a few weeks

Discussions about the electronics
Post Reply
vsardenberg
Posts: 2
Joined: Sat Nov 22, 2014 4:04 pm

Crazy display after not using it for a few weeks

Post by vsardenberg »

Hallo!
Happy 2016!

Today, after a few weeks not using my printer, i turned it on and the LCD display was showing crazy characters:
1 - Sometimes the home screen but with a few random characters
2 - Sometimes the 2 lines with all pixels on (as when you turn on your printer)
3 - Sometimes Blank

I connected the printer through Repetier and it responded (moved bed, changed filament), but when i send a gcode nothing happens.

I tried to upload the firmware again and Arduino gives me this message:







Arduino: 1.6.7 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\HAL.h:77:0,

from sketch\Repetier.h:363,

from C:\Users\Victor Sardenberg\Desktop\Repetier\Repetier.ino:139:

pins.h:1591: error: pasting "/* PINB.3, 22, MISO*/" and "_DDR" does not give a valid preprocessing token

#define MISO_PIN 50 // PINB.3, 22, MISO

^

sketch\fastio.h:34:38: note: in definition of macro '_SET_INPUT'

#define _SET_INPUT(IO) do {DIO ## IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:590:9: note: in expansion of macro 'SET_INPUT'

SET_INPUT(MISO_PIN);

^

sketch\HAL.h:590:19: note: in expansion of macro 'MISO_PIN'

SET_INPUT(MISO_PIN);

^

pins.h:1591: error: pasting "/* PINB.3, 22, MISO*/" and "_PIN" does not give a valid preprocessing token

#define MISO_PIN 50 // PINB.3, 22, MISO

^

sketch\fastio.h:34:65: note: in definition of macro '_SET_INPUT'

#define _SET_INPUT(IO) do {DIO ## IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:590:9: note: in expansion of macro 'SET_INPUT'

SET_INPUT(MISO_PIN);

^

sketch\HAL.h:590:19: note: in expansion of macro 'MISO_PIN'

SET_INPUT(MISO_PIN);

^

pins.h:1592: error: pasting "/* PINB.2, 21, MOSI*/" and "_DDR" does not give a valid preprocessing token

#define MOSI_PIN 51 // PINB.2, 21, MOSI

^

sketch\fastio.h:36:39: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:591:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(MOSI_PIN);

^

sketch\HAL.h:591:20: note: in expansion of macro 'MOSI_PIN'

SET_OUTPUT(MOSI_PIN);

^

pins.h:1592: error: pasting "/* PINB.2, 21, MOSI*/" and "_PIN" does not give a valid preprocessing token

#define MOSI_PIN 51 // PINB.2, 21, MOSI

^

sketch\fastio.h:36:66: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:591:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(MOSI_PIN);

^

sketch\HAL.h:591:20: note: in expansion of macro 'MOSI_PIN'

SET_OUTPUT(MOSI_PIN);

^

pins.h:1590: error: pasting "/* PINB.1, 20, SCK*/" and "_DDR" does not give a valid preprocessing token

#define SCK_PIN 52 // PINB.1, 20, SCK

^

sketch\fastio.h:36:39: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:592:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(SCK_PIN);

^

sketch\HAL.h:592:20: note: in expansion of macro 'SCK_PIN'

SET_OUTPUT(SCK_PIN);

^

pins.h:1590: error: pasting "/* PINB.1, 20, SCK*/" and "_PIN" does not give a valid preprocessing token

#define SCK_PIN 52 // PINB.1, 20, SCK

^

sketch\fastio.h:36:66: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:592:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(SCK_PIN);

^

sketch\HAL.h:592:20: note: in expansion of macro 'SCK_PIN'

SET_OUTPUT(SCK_PIN);

^

pins.h:1592: error: pasting "/* PINB.2, 21, MOSI*/" and "_DDR" does not give a valid preprocessing token

#define MOSI_PIN 51 // PINB.2, 21, MOSI

^

sketch\fastio.h:36:39: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:612:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(MOSI_PIN);

^

sketch\HAL.h:612:20: note: in expansion of macro 'MOSI_PIN'

SET_OUTPUT(MOSI_PIN);

^

pins.h:1592: error: pasting "/* PINB.2, 21, MOSI*/" and "_PIN" does not give a valid preprocessing token

#define MOSI_PIN 51 // PINB.2, 21, MOSI

^

sketch\fastio.h:36:66: note: in definition of macro '_SET_OUTPUT'

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:612:9: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(MOSI_PIN);

^

sketch\HAL.h:612:20: note: in expansion of macro 'MOSI_PIN'

SET_OUTPUT(MOSI_PIN);

^

pins.h:1591: error: pasting "/* PINB.3, 22, MISO*/" and "_DDR" does not give a valid preprocessing token

#define MISO_PIN 50 // PINB.3, 22, MISO

^

sketch\fastio.h:34:38: note: in definition of macro '_SET_INPUT'

#define _SET_INPUT(IO) do {DIO ## IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:613:9: note: in expansion of macro 'SET_INPUT'

SET_INPUT(MISO_PIN);

^

sketch\HAL.h:613:19: note: in expansion of macro 'MISO_PIN'

SET_INPUT(MISO_PIN);

^

pins.h:1591: error: pasting "/* PINB.3, 22, MISO*/" and "_PIN" does not give a valid preprocessing token

#define MISO_PIN 50 // PINB.3, 22, MISO

^

sketch\fastio.h:34:65: note: in definition of macro '_SET_INPUT'

#define _SET_INPUT(IO) do {DIO ## IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0)

^

sketch\HAL.h:613:9: note: in expansion of macro 'SET_INPUT'

SET_INPUT(MISO_PIN);

^

sketch\HAL.h:613:19: note: in expansion of macro 'MISO_PIN'

SET_INPUT(MISO_PIN);

^

exit status 1
pasting "/* PINB.3, 22, MISO*/" and "_DDR" does not give a valid preprocessing token

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.













Any guess? Machine is still lazy from celebrations?

aikx
Posts: 45
Joined: Sun May 13, 2012 1:14 pm
Location: Cologne, Germany

Post by aikx »

Try Arduino IDE 1.6.5

Post Reply