Need to turn off debug STDOUT for vl53l1x

vl53l1x-python

VL53L0X_GetDeviceInfo:
Device Name : VL53L1 cut1.1
Device Type : VL53L1
Device ID :
ProductRevisionMajor : 1
ProductRevisionMinor : 15
Status: 0

I need to not have that output. I send JSON to STDOUT to send over the wire

If you want to remove that its pretty easy to do.

You need to edit the vl53l1x_python.c file in the vl53l1x-python/python/lib directory.

Then comment out the printf commands that display that.

Then do python setup.py build

Mine produced lots of errors, but created me a new vl53l1x_python.so file which once I copied it into place, it worked perfectly without the display :-

before :-
pi@pizerowh:~ $ python ajm.py
VL53L0X_GetDeviceInfo:
Device Name : VL53L1 cut1.1
Device Type : VL53L1
Device ID :
ProductRevisionMajor : 1
ProductRevisionMinor : 15
00:16:40 146 14691 61 KiB^C

after :-
pi@pizerowh:~ $ python ajm.py
00:00:10 130 131 628 bytes^C
Process Interrupted!