Skip to content

jeffpeterson/obd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

gem install obd

Usage

Connect your OBD-II adapter and pass its device file to OBD.connect:

require 'obd'

obd = OBD.connect '/dev/tty.obd'

obd[:engine_rpm]
=> "4367.25rpm"

# Retrieve error codes
obd.send("03")
=> "43000545"

About

A Ruby API for use with an ELM327-based OBD-II interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages