From c52b4a60a56cf84ff014b2433348ef06e8747c77 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Wed, 22 Feb 2023 21:34:52 +0000 Subject: [PATCH] Update IO_HALDisplay.h Update comments. --- IO_HALDisplay.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/IO_HALDisplay.h b/IO_HALDisplay.h index 471ba94..3919bbf 100644 --- a/IO_HALDisplay.h +++ b/IO_HALDisplay.h @@ -28,16 +28,23 @@ * line of the screen. * * To install, use the following command in myHal.cpp: - - * HALDisplay::create(address, width, height); + * + * HALDisplay::create(address, width, height); * - * where address is the I2C address (0x3c or 0x3d), - * width is the width in pixels of the display, and - * height is the height in pixels of the display. + * where address is the I2C address of the OLED display (0x3c or 0x3d), + * width is the width in pixels, and height is the height in pixels. * * Valid width and height are 128x32 (SSD1306 controller), * 128x64 (SSD1306) and 132x64 (SH1106). The driver uses * a 5x7 character set in a 6x8 pixel cell. + * + * OR + * + * HALDisplay::create(address, width, height); + * + * where address is the I2C address of the LCD display (0x27 typically), + * width is the width in characters (16 or 20 typically), + * and height is the height in characters (2 or 4 typically). */