mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 10:21:19 +03:00
ssd1308: JavaScript, python examples for ssd1308 OLED Display 1.12"
Signed-off-by: Zion Orent <zorent@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
92039921b1
commit
99c59361a7
@ -8,6 +8,7 @@
|
||||
$1 = (uint8_t *)(argp);
|
||||
}
|
||||
|
||||
%include "ssd.h"
|
||||
%include "i2clcd.h"
|
||||
%{
|
||||
#include "i2clcd.h"
|
||||
@ -27,3 +28,8 @@
|
||||
%{
|
||||
#include "ssd1327.h"
|
||||
%}
|
||||
|
||||
%include "ssd1308.h"
|
||||
%{
|
||||
#include "ssd1308.h"
|
||||
%}
|
||||
|
@ -31,7 +31,6 @@ using namespace upm;
|
||||
|
||||
SSD1308::SSD1308 (int bus_in, int addr_in) : I2CLcd (bus_in, addr_in) {
|
||||
i2Cmd (m_i2c_lcd_control, DISPLAY_CMD_OFF); // display off
|
||||
printf ("NO_GDB :: DISPLAY_CMD_OFF \n");
|
||||
usleep (4500);
|
||||
i2Cmd (m_i2c_lcd_control, DISPLAY_CMD_ON); // display on
|
||||
usleep (4500);
|
||||
|
Reference in New Issue
Block a user