SHARE
TWEET

Untitled

a guest Apr 21st, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import obd
  2.  
  3. connection = obd.OBD("/dev/rfcomm0")
  4. cmd = obd.commands.RPM
  5. response = connection.query(cmd)
  6. print(response.value)
  7. print(connection.protocol_name())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top