AnsweredAssumed Answered

5.23 Convert to Hex for I2C program of ADAU1761

Question asked by eric_engineer on Dec 21, 2014
Latest reply on Dec 22, 2014 by CraigG

Is there sample code for the conversion of 5.23 to the hex value(s) I have to write over I2C for my ADAU1761?  I'm just getting into trying to program it from my PIC32 and I'm not really sure where to start.

 

Trying to implement these functions listed as todo in SigmaStudioFW.h:

 

#define SIGMASTUDIOTYPE_FIXPOINT_CONVERT( _value ) {/*TODO: IMPLEMENT MACRO*/}

#define SIGMASTUDIOTYPE_INTEGER_CONVERT( _value ) {/*TODO: IMPLEMENT MACRO*/}

 

Thank you

Outcomes