mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
st7735: expose base class python wrappers too and avoid name collision
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
2d68d707f6
commit
1786017006
@ -4,6 +4,12 @@
|
|||||||
%include "../upm.i"
|
%include "../upm.i"
|
||||||
|
|
||||||
%feature("autodoc", "3");
|
%feature("autodoc", "3");
|
||||||
|
%rename("printString") print(std::string msg);
|
||||||
|
|
||||||
|
%include "gfx.h"
|
||||||
|
%{
|
||||||
|
#include "gfx.h"
|
||||||
|
%}
|
||||||
|
|
||||||
%include "st7735.h"
|
%include "st7735.h"
|
||||||
%{
|
%{
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include <mraa/gpio.hpp>
|
#include <mraa/gpio.hpp>
|
||||||
|
|
||||||
#include <mraa/spi.hpp>
|
#include <mraa/spi.hpp>
|
||||||
#include <gfx.h>
|
#include "gfx.h"
|
||||||
|
|
||||||
#define INITR_GREENTAB 0x0
|
#define INITR_GREENTAB 0x0
|
||||||
#define INITR_REDTAB 0x1
|
#define INITR_REDTAB 0x1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user