commandline: use helper functions instead of defines for sda/scl control
add i2cdetect