Difference: OledDisplay (31 vs. 32)

Revision 322022-10-18 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 9 to 9
 
Intro
I really like the neat little OLED displays. They are crisp and draw only some miliamps. Cheap OLED display have a resolution 128x32 that's enough for about 4 lines and 20 characters.
Changed:
<
<
Driver oled.c, fonts from https://www.mikrocontroller.net/topic/54860.
>
>
Driver oled.c, fonts from https://www.mikrocontroller.net/topic/54860.
  Code page 850
Line: 51 to 51
 *) part of redirection.fs
Added:
>
>
To change the display type you have to edit the oled.h and rebuild the project:
#define OLED_4PIN_128X32	0		// the cheap one with 4 pins, Adafruit Raspberry Pi #3527
#define	OLED_BONNET_128X64	1		// Adafruit Bonnet for Raspberry Pi #3531
#define OLED_FEATHER_128X32	2		// Adafruit FeatherWing #2900
#define OLED_FEATHER_128X64	3		// Adafruit FeatherWing #4650
#define OLED_OCTOPUS_128X64	4		// Octopus PIS-1277

#define OLED_LANDSCAPE		0
#define	OLED_PORTRAIT		1

// configure your OLED type
#define OLED_DISPLAY_TYPE	OLED_OCTOPUS_128X64
#define	OLED_ORIENTATION	OLED_LANDSCAPE
 

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback