Hi, I'm in a trouble to plot a realtime adc data which is in ranfe of 0-1023, but my fata is normally ath 512 and i need to plot the variation of it from 512 that will be max of +/- 100. When i plot this adc data directly maping it from 0-1023 to 0-800 in a window of size 800X800 the variation is not seen clearly. Its just tiny spike. Thats why i need to plot the deviation from its normal value that is 512 in this case clearly so as to be good visible in a graph. Plz help me for the logic. My data will come in every 20ms.
Scale the data so 412--612 maps to 0--800 ?