9 Replies Latest reply on Nov 23, 2016 12:18 PM by Intel Corporation

    About Inti joule's spi

    osakana

      I'd like to use spi with marr,
      The following error occurs.

       

      ------------
      >>> import mraa
      >>> mraa.getVersion()
      'v1.1.2'
      >>> spi = mraa.Spi(0)
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "/usr/lib/python2.7/site-packages/mraa.py", line 1504, in __init__
          this = _mraa.new_Spi(*args)
      ValueError: Error initialising SPI bus
      ------------

       

      Please tell me how to deal with it.

      Where can I find out how to use spi?