예제 #1
0
파일: mraa.py 프로젝트: dsoultanis/helotism
    def setBit(self, bits):
        """
        setBit(Aio self, int bits) -> mraa::Result

        Parameters:
            bits: int

        """
        return _mraa.Aio_setBit(self, bits)
예제 #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)
예제 #3
0
 def setBit(self, bits):
     return _mraa.Aio_setBit(self, bits)