Hi! Conversion, actually math, you re looking for: in2 = (int)in - 2048; Note that "blind" typecasting of uint in to int in is safe in your case because max value it holds is <= 4095. It will overflow if value is larger than 32767.
↧