adafruit_i2c.py use by cgi

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
proj964
 
Posts: 6
Joined: Mon Jan 07, 2013 12:20 am

adafruit_i2c.py use by cgi

Post by proj964 »

i am looking into using the adafruit_i2c.py code by a python cgi.
it would appear that the use of print for debug and error messages is problematic.
i would see changing these to sys.stderr.
what I was wondering is there anything else to be aware of in using the i2c
code in a cgi environment?
thanks.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”