1 %module jsupm_i2clcd 2 %include "../upm.i" 3 %include "../carrays_uint8_t.i" 4 5 %typemap(in) uint8_t * { 6 void *argp = 0 ; 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 ); 8 $1 = (uint8_t *)(argp); 9 } 10 11 %include "ssd.h" 12 %include "lcd.h" 13 %{ 14 #include "lcd.h" 15 %} 16 17 %include "lcm1602.h" 18 %{ 19 #include "lcm1602.h" 20 %} 21 22 %include "jhd1313m1.h" 23 %{ 24 #include "jhd1313m1.h" 25 %} 26 27 %include "ssd1327.h" 28 %{ 29 #include "ssd1327.h" 30 %} 31 32 %include "ssd1308.h" 33 %{ 34 #include "ssd1308.h" 35 %} 36 37 %include "eboled.h" 38 %{ 39 #include "eboled.h" 40 %} 41 42 %include "sainsmartks.h" 43 %{ 44 #include "sainsmartks.h" 45 %} 46 47 %include "ssd1306.h" 48 %{ 49 #include "ssd1306.h" 50 %} 51