Commit df439306 authored by Rousseau Vincent's avatar Rousseau Vincent
Browse files

Add conversion in milli volt

parent 278bf2e9
......@@ -47,7 +47,10 @@ class ADS1115(Node):
def timer_callback(self):
msg = Float32() = self.adc.get_last_result()
# Conversion in milli volt for gain 1
# = self.adc.get_last_result()*0.125000
self.get_logger().info('Publishing: "{0}"'.format(
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