1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

finalizing servo, softpwm, and pwm api docs, cleanup of code comments for #73

This commit is contained in:
Robert Wolterman
2017-08-07 22:02:16 -05:00
parent e038fc9c89
commit 1e3935c8ea
5 changed files with 268 additions and 6 deletions

View File

@ -82,7 +82,7 @@ static int init_module(void)
return 0;
}
// python function value = is_chip_pro
// python function value = is_chip_pro()
static PyObject *py_is_chip_pro(PyObject *self, PyObject *args)
{
PyObject *py_value;
@ -92,7 +92,7 @@ static PyObject *py_is_chip_pro(PyObject *self, PyObject *args)
return py_value;
}
// python function start(channel, duty_cycle, freq)
// python function start(channel, duty_cycle, freq, polarity)
static PyObject *py_start_channel(PyObject *self, PyObject *args, PyObject *kwargs)
{
char key[8];