grove.cxx: fix with 10bit ADC numbers

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>