I'm doing a projects which consists in do a touch sensor.
So i decided use the freescale touch sensor MPR083.
However I have many problems in use the wire library.
What happens is that the arduino crashes when it goes execute de code: Wire.endTransmisson.
The code that I do is:
Wire.begin(); // join i2c bus (address optional for master)
Wire.beginTransmission(0b10011010); // transmit to device #4
Wire.send(0b00001010); // sends five bytes
Wire.send(0b00010101); // sends one byte
Wire.endTransmission(); // stop transmitting
Anyone can help me to do this project?