I've used the shared i2c memory on the PNS from another picaxe and I've read references to this technique in a number of discussions on this forum, but I'm not able to reproduce this trick in my own projects. It appears to be possible for two picaxes to read/write to a i2c memory device as long as the picaxes have additional logic between them to make sure only one is active (i2c-wise) at a time, at least this is what the PNS appears to allow.
Does the PNS do anything else other than share the i2c data and clock lines with the other picaxe? Is it changing the configuration of the the two pins it has connected to those lines when it is asked to release control of the i2c bus?
I have a 18x that listens for weather station data via an xbee and stores it in the i2c eeprom. I have another 18x that listens for html requests via an xport and reads the data out of an i2c eeprom returning it to the network. I'd like to share the eeprom to join the whole thing together, so I can view my weather station data via the web.
As I said earlier, I've seen lots of references in old threads to the theory of sharing i2c devices, but nothing concrete to show somebody else has got this method working outside of the PNS. Thanks,
Will
Does the PNS do anything else other than share the i2c data and clock lines with the other picaxe? Is it changing the configuration of the the two pins it has connected to those lines when it is asked to release control of the i2c bus?
I have a 18x that listens for weather station data via an xbee and stores it in the i2c eeprom. I have another 18x that listens for html requests via an xport and reads the data out of an i2c eeprom returning it to the network. I'd like to share the eeprom to join the whole thing together, so I can view my weather station data via the web.
As I said earlier, I've seen lots of references in old threads to the theory of sharing i2c devices, but nothing concrete to show somebody else has got this method working outside of the PNS. Thanks,
Will