What is the proper way to communicate via Wire library with the pressure plug ? The present sample is via Ports Library and is not working.
PlugShield combination Pressure plug
(2 posts) (2 voices)-
Posted 15/01/2010 08:27:12
-
You will need to take the code in the Ports library and replace calls to the DeviceI2C object with calls to the Wire library. See a similar change made for an RTC demo I did a while ago:
http://news.jeelabs.org/2009/12/04/jeenode-clock/
http://news.jeelabs.org/2009/11/30/plug-shield-clock/I'm working on resolving this issue, so that code can be re-used either way. Not there yet...
Posted 15/01/2010 15:09:51
