This is caused by the sketch you downloaded being old. In prior releases, the methods called send()send() and receive()receive() were used to send and receive SPI data. These were renamed to be write()write() and read()read(). If you change your code where there are references to Wire.send()Wire.send() and change to Wire.write()Wire.write() and also change Wire.receive()Wire.receive() to Wire.read()Wire.read(), you should find that your applications compile and run correctly.
Greenonline
- 3.2k
- 7
- 37
- 49