hi team
did anyone figure out about the ISD1760
i somehow managed to play and fwd but
i could not go and select specific voice for like if i want to do
button 1 will play voice 1
button 2 will play voice 2
and so on
can anyone guide me to it
thanks
here is a code were it will only play and fwd
then play again in a loop
#include <SPI.h>
//opcodes
#define PU 0x01
#define CLR_INT 0x04
#define PLAY 0x40
#define FWD 0x48
const int Slaveselect=10;
void setup() {
SPI.begin();
SPI.setBitOrder(LSBFIRST);
SPI.setDataMode(SPI_MODE3);
pinMode(Slaveselect,OUTPUT);
digitalWrite(Slaveselect,LOW);
SPI.transfer(PU); // power up
SPI.transfer(0x00);
digitalWrite(Slaveselect,HIGH);
delay(100);
digitalWrite(Slaveselect,LOW);
SPI.transfer(CLR_INT); // clear interupt
SPI.transfer(0x00);
digitalWrite(Slaveselect,HIGH);
delay(100);
}
void loop() {
digitalWrite(Slaveselect,LOW);
SPI.transfer(PLAY); // play
SPI.transfer(0x00); // data byte
digitalWrite(Slaveselect,HIGH);
delay(5000);
digitalWrite(Slaveselect,LOW);
SPI.transfer(FWD); // play
SPI.transfer(0x00); // data byte
digitalWrite(Slaveselect,HIGH);
delay(100);
}