Shop OBEX P1 Docs P2 Docs Learn Events
I2C and SPI Interface to Propellers. — Parallax Forums

I2C and SPI Interface to Propellers.

Patrick ColemanPatrick Coleman Posts: 43
edited 2015-03-23 14:07 in Accessories
Id like to ask if its possible to attach I2C and SPI devices to Propellers. Im new at this and couldnt find any examples using the search tool here on the forum. I have a host of instruments that need to run on my tri-copter, for autonomous flight, lidar.

Thank you,
Patrick

Comments

  • John AbshierJohn Abshier Posts: 1,116
    edited 2015-03-23 14:07
    The Propeller library has SPIN and PASM SPI Objects (SPI_Asm.spin and SPI_Spin.spin). There are several I2C objects in the OBEX. I like jm_i2c. Jonny Mac writes reliable code that is readable by humans.

    John Abshier
Sign In or Register to comment.