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/

adafruit_i2c.py use by cgi

by proj964 on Mon Jan 07, 2013 12:27 am

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.
proj964
 
Posts: 1
Joined: Mon Jan 07, 2013 12:20 am



cron