B4R Library [code module] SPI

Discussion in 'B4R Libraries' started by Roycefer, Mar 5, 2017.

Similar threads

B4R Tutorial Arduino - PC File Transfer
B4A Tutorial [B4X] Network + AsyncStreams + B4XSerializator
B4R Question spi & i2c
B4R Library rAdafruit_MCP3008
B4R Library rMCP2515
  1. Roycefer

    Roycefer Well-Known Member Licensed User

    This should tide us over until we get an official SPI library.

    Included in the code module are two methods demonstrating the use of the module with an MCP3008 SPI ADC and an MCP4131 SPI DAC.

    Attached Files:

    • SPI.bas
      File size:
      3.4 KB
    Mostez, Cableguy, Schnarcher and 4 others like this.
  2. whcir

    whcir Member Licensed User

    How can i use this to access the 2nd SPI port?
  3. Roycefer

    Roycefer Well-Known Member Licensed User

    What board are you using? Do you have an Arduino sketch or code snippet that shows accessing a 2nd SPI port? I'm not sure if that's possible.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice