Gen7 1,5 SD-Karte/Display Erweiterung.. 20. February 2018 07:58 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 22. February 2018 05:19 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |
This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6 (Linux), Board: "Gen7 with ATmega1284P and 20 MHz" In file included from ui.cpp:690: u8glib_ex.h: In function ‘void u8g_com_arduino_init_shift_out(uint8_t, uint8_t)’: u8glib_ex.h:6820: error: ‘DIO65_DDR’ was not declared in this scope u8glib_ex.h:6820: error: ‘DIO65_PIN’ was not declared in this scope u8glib_ex.h:6821: error: ‘DIO59_DDR’ was not declared in this scope u8glib_ex.h:6821: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h:6822: error: ‘DIO65_WPORT’ was not declared in this scope u8glib_ex.h:6822: error: ‘DIO65_PIN’ was not declared in this scope u8glib_ex.h:6822: error: ‘DIO65_WPORT’ was not declared in this scope u8glib_ex.h:6822: error: ‘DIO65_PIN’ was not declared in this scope u8glib_ex.h:6823: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:6823: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h:6823: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:6823: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h: In function ‘void u8g_com_arduino_do_shift_out_msb_first(uint8_t)’: u8glib_ex.h:6876: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:6876: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h:6876: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:6876: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h:6877: error: ‘DIO65_WPORT’ was not declared in this scope u8glib_ex.h:6877: error: ‘DIO65_PIN’ was not declared in this scope u8glib_ex.h:6877: error: ‘DIO65_WPORT’ was not declared in this scope u8glib_ex.h:6877: error: ‘DIO65_PIN’ was not declared in this scope u8glib_ex.h:6885: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:6885: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h:6885: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:6885: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h: In function ‘uint8_t u8g_com_arduino_st7920_spi_fn(u8g_t*, uint8_t, uint8_t, void*)’: u8glib_ex.h:7046: error: ‘DIO63_WPORT’ was not declared in this scope u8glib_ex.h:7046: error: ‘DIO63_PIN’ was not declared in this scope u8glib_ex.h:7046: error: ‘DIO63_WPORT’ was not declared in this scope u8glib_ex.h:7046: error: ‘DIO63_PIN’ was not declared in this scope u8glib_ex.h:7052: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:7052: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h:7052: error: ‘DIO59_WPORT’ was not declared in this scope u8glib_ex.h:7052: error: ‘DIO59_PIN’ was not declared in this scope u8glib_ex.h:7057: error: ‘DIO65_WPORT’ was not declared in this scope u8glib_ex.h:7057: error: ‘DIO65_PIN’ was not declared in this scope u8glib_ex.h:7057: error: ‘DIO65_WPORT’ was not declared in this scope u8glib_ex.h:7057: error: ‘DIO65_PIN’ was not declared in this scope u8glib_ex.h:7075: error: ‘DIO63_WPORT’ was not declared in this scope u8glib_ex.h:7075: error: ‘DIO63_PIN’ was not declared in this scope u8glib_ex.h:7075: error: ‘DIO63_WPORT’ was not declared in this scope u8glib_ex.h:7075: error: ‘DIO63_PIN’ was not declared in this scope
In file included from HAL.h:83:0, from Repetier.h:539, from ui.cpp:20: u8glib_ex.h: In function ‘void u8g_com_arduino_init_shift_out(uint8_t, uint8_t)’: fastio.h:36:31: error: ‘DIO65_DDR’ was not declared in this scope #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ fastio.h:56:26: note: in expansion of macro ‘_SET_OUTPUT’ #define SET_OUTPUT(IO) _SET_OUTPUT(IO) ^ u8glib_ex.h:6820:3: note: in expansion of macro ‘SET_OUTPUT’ SET_OUTPUT(UI_SPI_MOSI); ^ In file included from HAL.h:83:0, from Repetier.h:539, from ui.cpp:20: fastio.h:36:59: error: ‘DIO65_PIN’ was not declared in this scope #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:56:26: note: in expansion of macro ‘_SET_OUTPUT’ #define SET_OUTPUT(IO) _SET_OUTPUT(IO) ^ u8glib_ex.h:6820:3: note: in expansion of macro ‘SET_OUTPUT’ SET_OUTPUT(UI_SPI_MOSI); ^ In file included from HAL.h:83:0, from Repetier.h:539, from ui.cpp:20: fastio.h:36:31: error: ‘DIO59_DDR’ was not declared in this scope #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ fastio.h:56:26: note: in expansion of macro ‘_SET_OUTPUT’ #define SET_OUTPUT(IO) _SET_OUTPUT(IO) ^ u8glib_ex.h:6821:3: note: in expansion of macro ‘SET_OUTPUT’ SET_OUTPUT(UI_SPI_SCK); ^ In file included from HAL.h:83:0, from Repetier.h:539, from ui.cpp:20: fastio.h:36:59: error: ‘DIO59_PIN’ was not declared in this scope #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:56:26: note: in expansion of macro ‘_SET_OUTPUT’ #define SET_OUTPUT(IO) _SET_OUTPUT(IO) ^ u8glib_ex.h:6821:3: note: in expansion of macro ‘SET_OUTPUT’ SET_OUTPUT(UI_SPI_SCK); ^ fastio.h:29:39: error: ‘DIO65_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6822:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, LOW); ^ fastio.h:29:68: error: ‘DIO65_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6822:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, LOW); ^ fastio.h:29:96: error: ‘DIO65_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6822:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, LOW); ^ fastio.h:29:126: error: ‘DIO65_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6822:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, LOW); ^ fastio.h:29:39: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6823:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ fastio.h:29:68: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6823:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ fastio.h:29:96: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6823:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ fastio.h:29:126: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6823:3: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ u8glib_ex.h: In function ‘void u8g_com_arduino_do_shift_out_msb_first(uint8_t)’: fastio.h:29:39: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6876:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, LOW); ^ fastio.h:29:68: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6876:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, LOW); ^ fastio.h:29:96: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6876:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, LOW); ^ fastio.h:29:126: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6876:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, LOW); ^ fastio.h:29:39: error: ‘DIO65_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6877:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, val&0x80); ^ fastio.h:29:68: error: ‘DIO65_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6877:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, val&0x80); ^ fastio.h:29:96: error: ‘DIO65_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6877:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, val&0x80); ^ fastio.h:29:126: error: ‘DIO65_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6877:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI, val&0x80); ^ fastio.h:29:39: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6885:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ fastio.h:29:68: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6885:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ fastio.h:29:96: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6885:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ fastio.h:29:126: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:6885:5: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK, HIGH); ^ u8glib_ex.h: In function ‘uint8_t u8g_com_arduino_st7920_spi_fn(u8g_t*, uint8_t, uint8_t, void*)’: fastio.h:29:39: error: ‘DIO63_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7046:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,LOW); ^ fastio.h:29:68: error: ‘DIO63_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7046:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,LOW); ^ fastio.h:29:96: error: ‘DIO63_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7046:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,LOW); ^ fastio.h:29:126: error: ‘DIO63_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7046:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,LOW); ^ fastio.h:29:39: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7052:9: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK,HIGH); ^ fastio.h:29:68: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7052:9: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK,HIGH); ^ fastio.h:29:96: error: ‘DIO59_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7052:9: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK,HIGH); ^ fastio.h:29:126: error: ‘DIO59_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7052:9: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_SCK,HIGH); ^ fastio.h:29:39: error: ‘DIO65_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7057:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI,LOW); ^ fastio.h:29:68: error: ‘DIO65_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7057:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI,LOW); ^ fastio.h:29:96: error: ‘DIO65_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7057:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI,LOW); ^ fastio.h:29:126: error: ‘DIO65_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7057:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_MOSI,LOW); ^ fastio.h:29:39: error: ‘DIO63_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7075:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,arg_val); ^ fastio.h:29:68: error: ‘DIO63_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7075:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,arg_val); ^ fastio.h:29:96: error: ‘DIO63_WPORT’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7075:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,arg_val); ^ fastio.h:29:126: error: ‘DIO63_PIN’ was not declared in this scope #define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ fastio.h:17:30: note: in definition of macro ‘MASK’ #define MASK(PIN) (1 << PIN) ^ fastio.h:48:25: note: in expansion of macro ‘_WRITE’ #define WRITE(IO, v) _WRITE(IO, v) ^ u8glib_ex.h:7075:7: note: in expansion of macro ‘WRITE’ WRITE(UI_SPI_CS,arg_val); ^
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 05. March 2018 10:23 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |
#include #include LiquidCrystal_I2C lcd(0x20,16,2); void setup() { lcd.init(); lcd.setCursor(2,0); lcd.print("Hallo, Welt!"); delay(2000); } void loop() { lcd.setCursor(0,0); lcd.print("Sek. seit Start"); lcd.setCursor(0,1); lcd.print(millis()/1000); }
/** What display type do you use? 0 = No display 1 = LCD Display with 4 bit data bus 2 = LCD Display with 8 bit data bus (currently not implemented, fallback to 1) 3 = LCD Display with I2C connection, 4 bit mode 4 = Use the slower LiquiedCrystal library bundled with arduino. IMPORTANT: You need to uncomment the LiquidCrystal include in Repetier.pde for it to work. If you have Sanguino and want to use the library, you need to have Arduino 023 or older. (13.04.2012) 5 = U8G supported display */ #define UI_DISPLAY_TYPE 3 #if UI_DISPLAY_TYPE == 5 // Special case for graphic displays #define U8GLIB_ST7920 // Currently only this display from u8g lib is included. #define UI_LCD_WIDTH 128 #define UI_LCD_HEIGHT 64 //select font size #define UI_FONT_6X10 //default font #ifdef UI_FONT_6X10 #define UI_FONT_WIDTH 6 #define UI_FONT_HEIGHT 10 #define UI_FONT_SMALL_HEIGHT 7 #define UI_FONT_DEFAULT repetier_6x10 #define UI_FONT_SMALL repetier_5x7 #define UI_FONT_SMALL_WIDTH 5 //smaller font for status display #define UI_ANIMATION false // Animations are too slow #endif //calculate rows and cols available with current font #define UI_COLS (UI_LCD_WIDTH/UI_FONT_WIDTH) #define UI_ROWS (UI_LCD_HEIGHT/UI_FONT_HEIGHT) #define UI_DISPLAY_CHARSET 3 #else /** Number of columns per row Typical values are 16 and 20 */ #define UI_COLS 16 /** Rows of your display. 2 or 4 */ #define UI_ROWS 2 #endif // UI_DISPLAY_TYPE /* What type of chip is used for I2C communication 0 : PCF8574 or PCF8574A or compatible chips. 1 : MCP23017 */ #define UI_DISPLAY_I2C_CHIPTYPE 0 // 0x40 till 0x4e for PCF8574, 0x40 for the adafruid RGB shield, 0x40 - 0x4e for MCP23017 // Official addresses have a value half as high! #define UI_DISPLAY_I2C_ADDRESS 0x40 // For MCP 23017 define which pins should be output #define UI_DISPLAY_I2C_OUTPUT_PINS 65504 // Set the output mask that is or'd over the output data. This is needed to activate // a backlight switched over the I2C. // The adafruit RGB shields enables a light if the bit is not set. Bits 6-8 are used for backlight. #define UI_DISPLAY_I2C_OUTPUT_START_MASK 0 // For MCP which inputs are with pullup. 31 = pins 0-4 for adafruid rgb shield buttons #define UI_DISPLAY_I2C_PULLUP 31 /* How fast should the I2C clock go. The PCF8574 work only with the lowest setting 100000. A MCP23017 can run also with 400000 Hz */ #define UI_I2C_CLOCKSPEED 100000L /** Define the pin */ #if UI_DISPLAY_TYPE==3 // I2C Pin configuration #define UI_DISPLAY_RS_PIN _BV(6) #define UI_DISPLAY_RW_PIN _BV(5) #define UI_DISPLAY_ENABLE_PIN _BV(4) //#define UI_DISPLAY_D0_PIN _BV(0) //#define UI_DISPLAY_D1_PIN _BV(1) //#define UI_DISPLAY_D2_PIN _BV(2) //#define UI_DISPLAY_D3_PIN _BV(3) #define UI_DISPLAY_D4_PIN _BV(0) #define UI_DISPLAY_D5_PIN _BV(1) #define UI_DISPLAY_D6_PIN _BV(2) #define UI_DISPLAY_D7_PIN _BV(3) // uncomment if your using led to indicated the bed is hot //#define UI_I2C_HEATBED_LED _BV(8) // uncomment if your using led to indicated the extruder is hot //#define UI_I2C_HOTEND_LED _BV(7) // uncomment if your using led to indicated the FAN is on //#define UI_I2C_FAN_LED _BV(6) // Pins for adafruid RGB shield /*#define UI_DISPLAY_RS_PIN _BV(15) #define UI_DISPLAY_RW_PIN _BV(14) #define UI_DISPLAY_ENABLE_PIN _BV(13) #define UI_DISPLAY_D0_PIN _BV(12) #define UI_DISPLAY_D1_PIN _BV(11) #define UI_DISPLAY_D2_PIN _BV(10) #define UI_DISPLAY_D3_PIN _BV(9) #define UI_DISPLAY_D4_PIN _BV(12) #define UI_DISPLAY_D5_PIN _BV(11) #define UI_DISPLAY_D6_PIN _BV(10) #define UI_DISPLAY_D7_PIN _BV(9)*/ #else // Direct display connections #define UI_DISPLAY_RS_PIN 63 // PINK.1, 88, D_RS #define UI_DISPLAY_RW_PIN -1 #define UI_DISPLAY_ENABLE_PIN 65 // PINK.3, 86, D_E #define UI_DISPLAY_D0_PIN 59 // PINF.5, 92, D_D4 #define UI_DISPLAY_D1_PIN 64 // PINK.2, 87, D_D5 #define UI_DISPLAY_D2_PIN 44 // PINL.5, 40, D_D6 #define UI_DISPLAY_D3_PIN 66 // PINK.4, 85, D_D7 #define UI_DISPLAY_D4_PIN 59 // PINF.5, 92, D_D4 #define UI_DISPLAY_D5_PIN 64 // PINK.2, 87, D_D5 #define UI_DISPLAY_D6_PIN 44 // PINL.5, 40, D_D6 #define UI_DISPLAY_D7_PIN 66 // PINK.4, 85, D_D7 #define UI_DELAYPERCHAR 320 #endif
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 06. March 2018 09:04 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 21. March 2018 03:48 |
Registrierungsdatum: 12 Jahre zuvor Beiträge: 22 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 21. March 2018 04:37 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 21. March 2018 07:23 |
Registrierungsdatum: 12 Jahre zuvor Beiträge: 22 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 21. March 2018 08:06 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 21. March 2018 09:08 |
Registrierungsdatum: 12 Jahre zuvor Beiträge: 22 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 30. March 2018 09:29 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 30. May 2018 04:18 |
Registrierungsdatum: 12 Jahre zuvor Beiträge: 22 |
Re: Gen7 1,5 SD-Karte/Display Erweiterung.. 30. May 2018 11:37 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 107 |