I'm using Matlab to communicate with a custom AD7746 board through an Arduino UNO. The data sheet mentions that "In continuous conversion mode, the address pointers’ autoincrementer should be used for reading a conversion result. That means, the three data bytes should be read using one multibyte read transaction rather than three separate single byte transactions" I'm not sure how I can go about implementing this using MATLAB's Arduino support package. Would anyone have an Idea about this?

share|improve this question
    
Show us what you've done so far. Have you read data from the sensor yet? – TisteAndii Apr 17 '16 at 2:11
    
I think I figured it out. Matlab's Arduino package has a "read" command which lets you read data from an I2C device and allows you to specify the number of bytes. I'm just testing it to make sure that I got it right – user3808947 Apr 18 '16 at 3:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.