I want to have multiple arduino's hooked up together. 1 would be for temps, the other for lights etc etc. I also want to have 1 LCD to display the results. I know the basics is I2C and have the master request info from pin "x" but I need a few examples to get me started. There are examples that show the master and slave talking to each other, but the code I am looking for would be how to tell the master to "take/read" the data from the slave and "print" it to the LCD. Is there any example sketches of master and slave WITH an LCD in the sketch? Do all I need to do is add my LCD library and start the serial data and I am good to go?
I never tried two (or more) Masters and only one slave before (but I'm sure we all experience that at work).
I think it might work because I2C is address based. (not sure but it's worth a try)
@raschemmel-
Thats the library I have been using for most everything when I convert old code to new. Thanks for the tip, helps me know I am on the right path, or, least one that has been tried.
@PaulS -
I will have about 4 more circuits/sensors involved in the end. I am going for redundancy and fail safe among the top of the list. Also, since I am very very crude at manipulating code, there will be a lot of "delays" in my scripts until I learn how to use "millis" etc. I do not want, say for example, my clock pausing past a second waiting for the rest of the code to catch up. Another thing i want to do is to have 1 or 2 slaves check in on the others (if slaves can do that but it sounds more like a maters job). I would like them to reset the whole circuit if it doesn't get a response. Again, back to fail safe planning.
Yes, I am going with one Arduino for now, but, a multiple chip board that will be my personal little build/goal.
I have searched the internet so much for this that google banned me and my brain hurts, lol.