Thread: I2C class
View Single Post
  #1   Spotlight this post!  
Unread 31-01-2017, 19:28
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
I2C class

We are planning to write some I2C code and am looking at the I2C class. It seems this class only provides synchronous access to an I2C device. Is this correct? If so, is there a class that will provide asynchronous access? I.e. providing methods to check if the bus is not busy so we can fire off a bus transaction and either have a callback when the data is ready to be read or some sort of isCompleted() method to check if the transaction is completed.
__________________
Reply With Quote