Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I am doing an application which read and write an accelerometer register. Application should write the value 0x05 in register $16.
I wrote a function called write_register(int a, int b), so I wrote write_register(0x16,0x05). Is it correct? Should I declared them as characters?
Thanks for your help
Can you write down the function write_register(int a, int b)??
Because is int a,int b. So write_register(0x16,0x05) ==> write_register(0x0016,0x0005)
Not as characters!