upm/src/lcd/pyupm_i2clcd.i
Jon Trulson 55e8076988 eboled: Initial implementation
This driver supports the Sparkfun 64x48 pixel OLED Edison block:

https://www.sparkfun.com/products/13035

It is based on an ssd1306, but with some modifications (custom COM pin
mapping and a custom column offset).  It uses SPI to communicate, and
since it is an Edison Block, you don't really have any options for
different bus and pin assignments.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-08-12 11:20:14 -07:00

49 lines
657 B
OpenEdge ABL

%module pyupm_i2clcd
%include "../upm.i"
%include "../carrays_uint8_t.i"
%typemap(in) uint8_t * {
void *argp = 0 ;
int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 );
$1 = reinterpret_cast< uint8_t * >(argp);
}
%feature("autodoc", "3");
%include "ssd.h"
%include "lcd.h"
%{
#include "lcd.h"
%}
%include "lcm1602.h"
%{
#include "lcm1602.h"
%}
%include "jhd1313m1.h"
%{
#include "jhd1313m1.h"
%}
%include "ssd1327.h"
%{
#include "ssd1327.h"
%}
%include "ssd1308.h"
%{
#include "ssd1308.h"
%}
%include "eboled.h"
%{
#include "eboled.h"
%}
%include "sainsmartks.h"
%{
#include "sainsmartks.h"
%}