Example #1
0
static PyObject *
PyBCM2835_gpio_clr_fen(PyObject *self, PyObject *args)
{
	uint8_t pin;

	if (!PyArg_ParseTuple(args,"i",&pin)) {
		return NULL;
	}

	bcm2835_gpio_clr_fen(pin);

	Py_RETURN_NONE;
}
//void bcm2835_gpio_clr_fen(uint8_t pin);
/// Call bcm2835_gpio_clr_fen with 1 parameter
/// \par            Refer
/// \par            Modify
void ope_gpio_clr_fen(void)
{
    get_byte_code();
    bcm2835_gpio_clr_fen( *((uint8_t *)(buff+1)) );
}