Esempio n. 1
0
    def setBit(self, bits):
        """
        setBit(Aio self, int bits) -> mraa::Result

        Parameters:
            bits: int

        """
        return _mraa.Aio_setBit(self, bits)
Esempio n. 2
0
    def setBit(self, bits):
        """
        setBit(Aio self, int bits) -> mraa::Result

        Parameters
        ----------
        bits: int




        Set the bit value which mraa will shift the raw reading from the ADC
        to. I.e. 10bits

        Parameters:
        -----------

        bits:  the bits the return from read should be i.e 10

        mraa::Result type 
        """
        return _mraa.Aio_setBit(self, bits)
Esempio n. 3
0
 def setBit(self, bits):
     return _mraa.Aio_setBit(self, bits)