]> www.fi.muni.cz Git - bike-lights.git/commit
adc: measure the offset of the gain-20 stage
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 21 Nov 2012 22:07:17 +0000 (23:07 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 21 Nov 2012 22:07:17 +0000 (23:07 +0100)
commit5090774fd8ca593d3b247b099b3b6a40e837475e
tree60c44e1d40027bd2461901345a793ee2440e569f
parentfb8d751d7d12d162e6d755bf1f39fec26629d304
adc: measure the offset of the gain-20 stage

We measure the offset of the ADC1:ADC1 gain 20 stage and subtract it
from ADC0:ADC1 and ADC2:ADC1 differential readings.
firmware/adc.c