}
~maa_gpio_context()
{
- maa_gpio_close($self);
+ maa_gpio_unexport($self);
}
%feature("autodoc") write "
Write a value to a GPIO pin
}
~maa_i2c_context()
{
- maa_i2c_stop($self);
}
int frequency(int hz)
{
}
~maa_pwm_context()
{
- maa_pwm_close($self);
+ maa_pwm_unexport($self);
}
int write(float percentage)
{
}
~maa_spi_context()
{
- maa_spi_stop($self);
}
int mode(unsigned short mode)
{
}
~maa_aio_context()
{
- maa_aio_close($self);
}
unsigned int read()
{