|
Re: DIY Tiny OLED I2C full graphics controller January 10, 2017 01:57AM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller March 25, 2017 03:21PM |
Registered: 8 years ago Posts: 2 |
|
Re: DIY Tiny OLED I2C full graphics controller March 26, 2017 08:01AM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller March 26, 2017 09:09AM |
Registered: 8 years ago Posts: 2 |
|
Re: DIY Tiny OLED I2C full graphics controller April 15, 2017 11:10PM |
Registered: 8 years ago Posts: 2 |
|
Re: DIY Tiny OLED I2C full graphics controller April 16, 2017 02:16AM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller April 16, 2017 05:22AM |
Registered: 8 years ago Posts: 2 |
Quote
enif
I still use an older version of Marlin, but from what I read, the blinking coordinates just mean that the corresponding axes have not been homed yet. So that part would be normal in your case.
As for the non responding rotary encoder, I assume that there is some problem in the pin assignment. Check out your values for BTN_EN1, BTN_EN2 and BTN_ENC (probably defined in pins_RAMPS.h) and verify them with your wiring.
|
Re: DIY Tiny OLED I2C full graphics controller May 18, 2017 02:59PM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 01:24AM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 01:54AM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 04:43AM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 11:20AM |
Registered: 8 years ago Posts: 23 |
Arduino: 1.8.2 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from /Users/Twmaster/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/avr/include/avr/io.h:99:0,
from /Users/Twmaster/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/avr/include/avr/pgmspace.h:90,
from sketch/Marlin.h:32,
from sketch/ultralcd.h:26,
from sketch/ultralcd.cpp:23:
sketch/ultralcd.cpp: In function 'void lcd_update()':
ultralcd.h:84: error: 'BLEN_C' was not declared in this scope
#define EN_C (_BV(BLEN_C))
^
sketch/ultralcd.h:150:36: note: in expansion of macro 'EN_C'
#define LCD_CLICKED (buttons & EN_C)
^
sketch/ultralcd.cpp:2724:9: note: in expansion of macro 'LCD_CLICKED'
if (LCD_CLICKED) {
^
exit status 1
'BLEN_C' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
#endif
#if ENABLED(NEWPANEL)
#elif defined(SSD1306_OLED_I2C_CONTROLLER)
#define BTN_EN1 31
#define BTN_EN2 33
#define BTN_ENC 35
#define BEEPER 37
#define LCD_SDSS 53
#define SDCARDDETECT -1
#define KILL_PIN -1
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 02:28PM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 02:33PM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 03:54PM |
Registered: 11 years ago Posts: 590 |
% diff -p Configuration.h{.ori,}
*** Configuration.h.ori 2017-05-19 19:56:42.864881489 +0200
--- Configuration.h 2017-05-19 21:47:15.481863054 +0200
***************
*** 1425,1430 ****
--- 1425,1437 ----
//
//#define OLED_PANEL_TINYBOY2
+ //
+ // TinyOLED 128x64 OLED from [forums.reprap.org]
+ //
+ //#define U8GLIB_SH1106 // used for most 1.3" OLEDs (default)
+ //#define U8GLIB_SSD1306 // used for most 0.96" OLEDs (uncomment if needed)
+ #define TINYOLED
+
//=============================================================================
//=============================== Extra Features ==============================
//=============================================================================
% diff -p Conditionals_LCD.h{.ori,}
*** Conditionals_LCD.h.ori 2017-05-19 20:22:08.937765646 +0200
--- Conditionals_LCD.h 2017-05-19 20:29:27.988815577 +0200
***************
*** 67,72 ****
--- 67,82 ----
#endif
+ #if ENABLED(TINYOLED)
+ #ifndef U8GLIB_SSD1306 // define U8GLIB_SSD1306 in Configuration.h if not using SH1106 version
+ #define U8GLIB_SH1106 // SSD1306 and SH1106 are similar, but have slightly different horizontal shift
+ #endif
+ #define ULTIPANEL
+ #define NEWPANEL
+ #define REVERSE_ENCODER_DIRECTION
+ #define REVERSE_MENU_DIRECTION
+ #endif
+
#if ENABLED(OLED_PANEL_TINYBOY2)
#define U8GLIB_SSD1306
#define ULTIPANEL
***************
% diff -p pins_RAMPS.h{.ori,}
*** pins_RAMPS.h.ori 2017-05-19 20:03:18.576811985 +0200
--- pins_RAMPS.h 2017-05-19 21:35:10.588615329 +0200
***************
*** 327,332 ****
--- 327,340 ----
// not connected to a pin
#define SD_DETECT_PIN 49
+ #elif ENABLED(TINYOLED)
+ #define BTN_EN1 31
+ #define BTN_EN2 33
+ #define BTN_ENC 35
+ #define BEEPER_PIN 37
+ #define LCD_SDSS 53
+ #define SD_DETECT_PIN -1
+ #define KILL_PIN -1
#else
// Beeper on AUX-4
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 04:00PM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 06:06PM |
Registered: 8 years ago Posts: 23 |
Arduino: 1.8.2 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch/MarlinConfig.h:31:0,
from /Users/Twmaster/Documents/Marlin/Marlin-RC/Marlin/Marlin.ino:37:
Conditionals_LCD.h:28: error: unterminated #ifndef
#ifndef CONDITIONALS_LCD_H // Get the LCD defines which are needed first
^
In file included from sketch/pins.h:63:0,
from sketch/MarlinConfig.h:33,
from /Users/Twmaster/Documents/Marlin/Marlin-RC/Marlin/Marlin.ino:37:
pins_RAMPS.h:376: error: #endif without #if
#endif // ULTRA_LCD
^
exit status 1
unterminated #ifndef
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 08:54PM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller May 19, 2017 11:37PM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller May 20, 2017 01:37AM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller May 20, 2017 01:23PM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller May 20, 2017 04:01PM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller June 19, 2017 07:23PM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller July 19, 2017 10:29PM |
Registered: 10 years ago Posts: 33 |
|
Re: DIY Tiny OLED I2C full graphics controller July 19, 2017 10:29PM |
Registered: 10 years ago Posts: 33 |
|
Re: DIY Tiny OLED I2C full graphics controller August 02, 2017 05:34AM |
Registered: 8 years ago Posts: 5 |
|
Re: DIY Tiny OLED I2C full graphics controller August 02, 2017 10:28AM |
Registered: 8 years ago Posts: 23 |
|
Re: DIY Tiny OLED I2C full graphics controller December 10, 2017 04:58AM |
Registered: 7 years ago Posts: 2 |
|
Re: DIY Tiny OLED I2C full graphics controller December 10, 2017 07:13AM |
Registered: 11 years ago Posts: 590 |
|
Re: DIY Tiny OLED I2C full graphics controller December 10, 2017 09:23PM |
Registered: 7 years ago Posts: 2 |