|
|
|
|
@ -3374,6 +3374,19 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_wiringPiSetupPhys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)":wiringPiSetupPhys")) SWIG_fail;
|
|
|
|
|
result = (int)wiringPiSetupPhys();
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_piFaceSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
@ -3396,42 +3409,37 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_piBoardRev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)":piBoardRev")) SWIG_fail;
|
|
|
|
|
result = (int)piBoardRev();
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_wpiPinToGpio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_pinMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
int val2 ;
|
|
|
|
|
int ecode2 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
int result;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:wpiPinToGpio",&obj0)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:pinMode",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "wpiPinToGpio" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pinMode" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
result = (int)wpiPinToGpio(arg1);
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pinMode" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
pinMode(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_pinMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_pullUpDnControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
@ -3442,18 +3450,18 @@ SWIGINTERN PyObject *_wrap_pinMode(PyObject *SWIGUNUSEDPARM(self), PyObject *arg
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:pinMode",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:pullUpDnControl",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pinMode" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pullUpDnControl" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pinMode" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pullUpDnControl" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
pinMode(arg1,arg2);
|
|
|
|
|
pullUpDnControl(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
@ -3461,7 +3469,7 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_getAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_digitalRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
@ -3469,13 +3477,13 @@ SWIGINTERN PyObject *_wrap_getAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:getAlt",&obj0)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:digitalRead",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "getAlt" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "digitalRead" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
result = (int)getAlt(arg1);
|
|
|
|
|
result = (int)digitalRead(arg1);
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
@ -3483,7 +3491,7 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_pullUpDnControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_digitalWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
@ -3494,18 +3502,18 @@ SWIGINTERN PyObject *_wrap_pullUpDnControl(PyObject *SWIGUNUSEDPARM(self), PyObj
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:pullUpDnControl",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:digitalWrite",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pullUpDnControl" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "digitalWrite" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pullUpDnControl" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "digitalWrite" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
pullUpDnControl(arg1,arg2);
|
|
|
|
|
digitalWrite(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
@ -3513,7 +3521,7 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_digitalWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_pwmWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
@ -3524,18 +3532,18 @@ SWIGINTERN PyObject *_wrap_digitalWrite(PyObject *SWIGUNUSEDPARM(self), PyObject
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:digitalWrite",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:pwmWrite",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "digitalWrite" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pwmWrite" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "digitalWrite" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pwmWrite" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
digitalWrite(arg1,arg2);
|
|
|
|
|
pwmWrite(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
@ -3543,28 +3551,29 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_digitalWriteByte(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_analogRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:digitalWriteByte",&obj0)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:analogRead",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "digitalWriteByte" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "analogRead" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
digitalWriteByte(arg1);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
result = (int)analogRead(arg1);
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_gpioClockSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_analogWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
@ -3575,18 +3584,18 @@ SWIGINTERN PyObject *_wrap_gpioClockSet(PyObject *SWIGUNUSEDPARM(self), PyObject
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:gpioClockSet",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:analogWrite",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gpioClockSet" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "analogWrite" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gpioClockSet" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "analogWrite" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
gpioClockSet(arg1,arg2);
|
|
|
|
|
analogWrite(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
@ -3594,30 +3603,35 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_pwmWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_piBoardRev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)":piBoardRev")) SWIG_fail;
|
|
|
|
|
result = (int)piBoardRev();
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_wpiPinToGpio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
int val2 ;
|
|
|
|
|
int ecode2 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:pwmWrite",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:wpiPinToGpio",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pwmWrite" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "wpiPinToGpio" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pwmWrite" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
pwmWrite(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
result = (int)wpiPinToGpio(arg1);
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
@ -3654,7 +3668,7 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_digitalRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
SWIGINTERN PyObject *_wrap_getAlt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
@ -3662,13 +3676,13 @@ SWIGINTERN PyObject *_wrap_digitalRead(PyObject *SWIGUNUSEDPARM(self), PyObject
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:digitalRead",&obj0)) SWIG_fail;
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:getAlt",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "digitalRead" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "getAlt" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
result = (int)digitalRead(arg1);
|
|
|
|
|
result = (int)getAlt(arg1);
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
@ -3676,6 +3690,27 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_digitalWriteByte(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:digitalWriteByte",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "digitalWriteByte" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
digitalWriteByte(arg1);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_pwmSetMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
@ -3739,6 +3774,36 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_gpioClockSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
int val2 ;
|
|
|
|
|
int ecode2 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:gpioClockSet",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gpioClockSet" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gpioClockSet" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
gpioClockSet(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN int Swig_var_waitForInterrupt_set(PyObject *_val) {
|
|
|
|
|
{
|
|
|
|
|
int res = SWIG_ConvertFunctionPtr(_val, (void**)(&waitForInterrupt), SWIGTYPE_p_f_int_int__int);
|
|
|
|
|
@ -3862,6 +3927,28 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_piHiPri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:piHiPri",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "piHiPri" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
result = (int)piHiPri(arg1);
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_delay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
unsigned int arg1 ;
|
|
|
|
|
@ -4963,30 +5050,386 @@ fail:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdHome(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:lcdHome",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdHome" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
lcdHome(arg1);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"O:lcdClear",&obj0)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdClear" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
lcdClear(arg1);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdSendCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
uint8_t arg2 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
unsigned char val2 ;
|
|
|
|
|
int ecode2 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:lcdSendCommand",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdSendCommand" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lcdSendCommand" "', argument " "2"" of type '" "uint8_t""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (uint8_t)(val2);
|
|
|
|
|
lcdSendCommand(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
int arg3 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
int val2 ;
|
|
|
|
|
int ecode2 = 0 ;
|
|
|
|
|
int val3 ;
|
|
|
|
|
int ecode3 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
PyObject * obj2 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OOO:lcdPosition",&obj0,&obj1,&obj2)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdPosition" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lcdPosition" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
|
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "lcdPosition" "', argument " "3"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg3 = (int)(val3);
|
|
|
|
|
lcdPosition(arg1,arg2,arg3);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdPutchar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
uint8_t arg2 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
unsigned char val2 ;
|
|
|
|
|
int ecode2 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:lcdPutchar",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdPutchar" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lcdPutchar" "', argument " "2"" of type '" "uint8_t""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (uint8_t)(val2);
|
|
|
|
|
lcdPutchar(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdPuts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
char *arg2 = (char *) 0 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
int res2 ;
|
|
|
|
|
char *buf2 = 0 ;
|
|
|
|
|
int alloc2 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:lcdPuts",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdPuts" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
|
|
|
|
|
if (!SWIG_IsOK(res2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lcdPuts" "', argument " "2"" of type '" "char *""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (char *)(buf2);
|
|
|
|
|
lcdPuts(arg1,arg2);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdPrintf__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
char *arg2 = (char *) 0 ;
|
|
|
|
|
void *arg3 = 0 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
int res2 ;
|
|
|
|
|
char *buf2 = 0 ;
|
|
|
|
|
int alloc2 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OO:lcdPrintf",&obj0,&obj1)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdPrintf" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
|
|
|
|
|
if (!SWIG_IsOK(res2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lcdPrintf" "', argument " "2"" of type '" "char *""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (char *)(buf2);
|
|
|
|
|
lcdPrintf(arg1,arg2,arg3);
|
|
|
|
|
resultobj = SWIG_Py_Void();
|
|
|
|
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdPrintf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj;
|
|
|
|
|
PyObject *varargs;
|
|
|
|
|
PyObject *newargs;
|
|
|
|
|
|
|
|
|
|
newargs = PyTuple_GetSlice(args,0,2);
|
|
|
|
|
varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1);
|
|
|
|
|
resultobj = _wrap_lcdPrintf__varargs__(NULL,newargs,varargs);
|
|
|
|
|
Py_XDECREF(newargs);
|
|
|
|
|
Py_XDECREF(varargs);
|
|
|
|
|
return resultobj;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGINTERN PyObject *_wrap_lcdInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
|
int arg1 ;
|
|
|
|
|
int arg2 ;
|
|
|
|
|
int arg3 ;
|
|
|
|
|
int arg4 ;
|
|
|
|
|
int arg5 ;
|
|
|
|
|
int arg6 ;
|
|
|
|
|
int arg7 ;
|
|
|
|
|
int arg8 ;
|
|
|
|
|
int arg9 ;
|
|
|
|
|
int arg10 ;
|
|
|
|
|
int arg11 ;
|
|
|
|
|
int arg12 ;
|
|
|
|
|
int arg13 ;
|
|
|
|
|
int val1 ;
|
|
|
|
|
int ecode1 = 0 ;
|
|
|
|
|
int val2 ;
|
|
|
|
|
int ecode2 = 0 ;
|
|
|
|
|
int val3 ;
|
|
|
|
|
int ecode3 = 0 ;
|
|
|
|
|
int val4 ;
|
|
|
|
|
int ecode4 = 0 ;
|
|
|
|
|
int val5 ;
|
|
|
|
|
int ecode5 = 0 ;
|
|
|
|
|
int val6 ;
|
|
|
|
|
int ecode6 = 0 ;
|
|
|
|
|
int val7 ;
|
|
|
|
|
int ecode7 = 0 ;
|
|
|
|
|
int val8 ;
|
|
|
|
|
int ecode8 = 0 ;
|
|
|
|
|
int val9 ;
|
|
|
|
|
int ecode9 = 0 ;
|
|
|
|
|
int val10 ;
|
|
|
|
|
int ecode10 = 0 ;
|
|
|
|
|
int val11 ;
|
|
|
|
|
int ecode11 = 0 ;
|
|
|
|
|
int val12 ;
|
|
|
|
|
int ecode12 = 0 ;
|
|
|
|
|
int val13 ;
|
|
|
|
|
int ecode13 = 0 ;
|
|
|
|
|
PyObject * obj0 = 0 ;
|
|
|
|
|
PyObject * obj1 = 0 ;
|
|
|
|
|
PyObject * obj2 = 0 ;
|
|
|
|
|
PyObject * obj3 = 0 ;
|
|
|
|
|
PyObject * obj4 = 0 ;
|
|
|
|
|
PyObject * obj5 = 0 ;
|
|
|
|
|
PyObject * obj6 = 0 ;
|
|
|
|
|
PyObject * obj7 = 0 ;
|
|
|
|
|
PyObject * obj8 = 0 ;
|
|
|
|
|
PyObject * obj9 = 0 ;
|
|
|
|
|
PyObject * obj10 = 0 ;
|
|
|
|
|
PyObject * obj11 = 0 ;
|
|
|
|
|
PyObject * obj12 = 0 ;
|
|
|
|
|
int result;
|
|
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOOOO:lcdInit",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12)) SWIG_fail;
|
|
|
|
|
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
|
|
|
|
if (!SWIG_IsOK(ecode1)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lcdInit" "', argument " "1"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg1 = (int)(val1);
|
|
|
|
|
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
|
|
|
|
if (!SWIG_IsOK(ecode2)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lcdInit" "', argument " "2"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg2 = (int)(val2);
|
|
|
|
|
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
|
|
|
|
if (!SWIG_IsOK(ecode3)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "lcdInit" "', argument " "3"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg3 = (int)(val3);
|
|
|
|
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
|
|
|
|
if (!SWIG_IsOK(ecode4)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "lcdInit" "', argument " "4"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg4 = (int)(val4);
|
|
|
|
|
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
|
|
|
if (!SWIG_IsOK(ecode5)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "lcdInit" "', argument " "5"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg5 = (int)(val5);
|
|
|
|
|
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
|
|
|
|
if (!SWIG_IsOK(ecode6)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "lcdInit" "', argument " "6"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg6 = (int)(val6);
|
|
|
|
|
ecode7 = SWIG_AsVal_int(obj6, &val7);
|
|
|
|
|
if (!SWIG_IsOK(ecode7)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "lcdInit" "', argument " "7"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg7 = (int)(val7);
|
|
|
|
|
ecode8 = SWIG_AsVal_int(obj7, &val8);
|
|
|
|
|
if (!SWIG_IsOK(ecode8)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "lcdInit" "', argument " "8"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg8 = (int)(val8);
|
|
|
|
|
ecode9 = SWIG_AsVal_int(obj8, &val9);
|
|
|
|
|
if (!SWIG_IsOK(ecode9)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "lcdInit" "', argument " "9"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg9 = (int)(val9);
|
|
|
|
|
ecode10 = SWIG_AsVal_int(obj9, &val10);
|
|
|
|
|
if (!SWIG_IsOK(ecode10)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "lcdInit" "', argument " "10"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg10 = (int)(val10);
|
|
|
|
|
ecode11 = SWIG_AsVal_int(obj10, &val11);
|
|
|
|
|
if (!SWIG_IsOK(ecode11)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "lcdInit" "', argument " "11"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg11 = (int)(val11);
|
|
|
|
|
ecode12 = SWIG_AsVal_int(obj11, &val12);
|
|
|
|
|
if (!SWIG_IsOK(ecode12)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "lcdInit" "', argument " "12"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg12 = (int)(val12);
|
|
|
|
|
ecode13 = SWIG_AsVal_int(obj12, &val13);
|
|
|
|
|
if (!SWIG_IsOK(ecode13)) {
|
|
|
|
|
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "lcdInit" "', argument " "13"" of type '" "int""'");
|
|
|
|
|
}
|
|
|
|
|
arg13 = (int)(val13);
|
|
|
|
|
result = (int)lcdInit(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
|
|
|
|
|
resultobj = SWIG_From_int((int)(result));
|
|
|
|
|
return resultobj;
|
|
|
|
|
fail:
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static PyMethodDef SwigMethods[] = {
|
|
|
|
|
{ (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
|
|
|
|
|
{ (char *)"wiringPiSetup", _wrap_wiringPiSetup, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"wiringPiSetupSys", _wrap_wiringPiSetupSys, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"wiringPiSetupGpio", _wrap_wiringPiSetupGpio, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"wiringPiSetupPhys", _wrap_wiringPiSetupPhys, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"piFaceSetup", _wrap_piFaceSetup, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"piBoardRev", _wrap_piBoardRev, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"wpiPinToGpio", _wrap_wpiPinToGpio, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"pinMode", _wrap_pinMode, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"getAlt", _wrap_getAlt, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"pullUpDnControl", _wrap_pullUpDnControl, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"digitalRead", _wrap_digitalRead, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"digitalWrite", _wrap_digitalWrite, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"digitalWriteByte", _wrap_digitalWriteByte, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"gpioClockSet", _wrap_gpioClockSet, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"pwmWrite", _wrap_pwmWrite, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"analogRead", _wrap_analogRead, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"analogWrite", _wrap_analogWrite, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"piBoardRev", _wrap_piBoardRev, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"wpiPinToGpio", _wrap_wpiPinToGpio, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"setPadDrive", _wrap_setPadDrive, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"digitalRead", _wrap_digitalRead, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"getAlt", _wrap_getAlt, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"digitalWriteByte", _wrap_digitalWriteByte, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"pwmSetMode", _wrap_pwmSetMode, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"pwmSetRange", _wrap_pwmSetRange, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"pwmSetClock", _wrap_pwmSetClock, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"gpioClockSet", _wrap_gpioClockSet, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"wiringPiISR", _wrap_wiringPiISR, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"piThreadCreate", _wrap_piThreadCreate, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"piLock", _wrap_piLock, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"piUnlock", _wrap_piUnlock, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"piHiPri", _wrap_piHiPri, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"delay", _wrap_delay, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"delayMicroseconds", _wrap_delayMicroseconds, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"millis", _wrap_millis, METH_VARARGS, NULL},
|
|
|
|
|
@ -5021,6 +5464,14 @@ static PyMethodDef SwigMethods[] = {
|
|
|
|
|
{ (char *)"mcp23s08Setup", _wrap_mcp23s08Setup, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"mcp23008Setup", _wrap_mcp23008Setup, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"sr595Setup", _wrap_sr595Setup, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdHome", _wrap_lcdHome, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdClear", _wrap_lcdClear, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdSendCommand", _wrap_lcdSendCommand, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdPosition", _wrap_lcdPosition, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdPutchar", _wrap_lcdPutchar, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdPuts", _wrap_lcdPuts, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdPrintf", _wrap_lcdPrintf, METH_VARARGS, NULL},
|
|
|
|
|
{ (char *)"lcdInit", _wrap_lcdInit, METH_VARARGS, NULL},
|
|
|
|
|
{ NULL, NULL, 0, NULL }
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|