- Demo code for Grove OLED twig on Arduino 1.0
Arduino 1.0 is a code-breaking update for the Wire library which is used for the I2C communication, as described on this Make: blog entry. Basically, just replace Wire.send() with Wire.write() and Wire.receive() with Wire.read().
I had a harder time with getting the data.c file into the sketch, and without it the sketch does not compile. I succeeded by extracting it into a temporary folder and then use the Arduino 1.0 "Sketch" menu "Add file..." function to pick it. The IDE copied it into the sketchbook folder and showed the file contents in a new tab
Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials. For technical support, please post your questions to our forum.