Commit f038372e authored by Matthieu Cattin's avatar Matthieu Cattin

Add Calibration settings for each range.

parent cdf36a12
...@@ -120,7 +120,7 @@ class CFmcAdc100Ms: ...@@ -120,7 +120,7 @@ class CFmcAdc100Ms:
IN_TERM = (1<<3) IN_TERM = (1<<3)
IN_TERM_MASK = 0x08 IN_TERM_MASK = 0x08
IN_RANGES = {'100mV': 0x23, '1V': 0x11, '10V': 0x45, 'CAL': 0x40, 'OPEN': 0x00} IN_RANGES = {'100mV': 0x23, '1V': 0x11, '10V': 0x45, 'CAL': 0x40, 'OPEN': 0x00, 'CAL_100mV': 0x42, 'CAL_1V': 0x40, 'CAL_10V': 0x44}
def channel_addr(self, channel, reg): def channel_addr(self, channel, reg):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment