i2s.onReceive with is2.read only reading 1 byte #3084
              
                Unanswered
              
          
                  
                    
                      DigitalMakerCIC
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| You're being bitten by the C++ compiler type inference rules. Use a case to u8_t* to get the block read: Right now your code is calling the non-blocking single read API. There was also a bug in returned size (off-by-4x) fixed in #3086 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the is2.onReceive function with is2.read to read the whole buffer into an array. But am only reading one byte.
Is there a method for determining the optimum setBuffers sizes?
Beta Was this translation helpful? Give feedback.
All reactions