Created Thu, 30 Jun 2011 06:33:56 +0000 by Mr_Fixit
Thu, 30 Jun 2011 06:33:56 +0000
Anyone had any luck getting the SP03 working on I2C? Looking at other code samples and the documentation, this is what I have to say custom text:
Wire.beginTransmission(0x62); //Address
Wire.send(0x00); // Command Register
Wire.send(0x00); // NULL
Wire.send(0x00); // Volume (Max)
Wire.send(0x05); // Speed
Wire.send(0x03); // Pitch
Wire.send("This is a test"); // Text to say
Wire.send(0x00); // NULL
Wire.endTransmission(); // ***** Hangs here!!! *****
Wire.beginTransmission(0x62);
Wire.send(0x00); // Command Register
Wire.send(0x40); // Command to say stored buffer text
Wire.endTransmission();
And this is what I have to say a pre-stored phrase:
Wire.beginTransmission(0x62);
Wire.send(0x00);
Wire.send(0x02);
Wire.endTransmission();
I have found that this all hangs on endTransmission no matter what I do. If anyone has any suggestion/comment/whatever, lets have it. :)