Skip to content
Snippets Groups Projects
Commit 54b99e51 authored by Eric Nelson's avatar Eric Nelson Committed by Heiko Schocher
Browse files

i2c_probe: update for use in scripting


Allow the use of an I2C address to test and return success
if one or more devices is found.

This allows device presence to alter the flow of a script.
e.g.
   if i2c probe 0x04 ; then
	echo found Hannstar touch ;
   fi

Signed-off-by: default avatarEric Nelson <eric.nelson@boundarydevices.com>
parent ff5d2dce
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment