Hello i'm trying to make my arduino simulate an LC75854E too send out a key output
to use an Gemini CDX 602 without remote control unit but all i'm getting is random stuff
sometimes it ejects the cd, sometimes it plays it and i wondring if it has to do with some clock pulses are wrong or something?
the LC75854E is sending out DataOut to the main unit microcontroller with keydata
link to ic : HTTP 301 This page has been moved
this is the code i have now:
//Pin connected to ST_CP of 74HC595
int latchPin = 10;
//Pin connected to SH_CP of 74HC595
int clockPin = 13;
////Pin connected to DS of 74HC595
int dataPin = 11;
void setup() {
//set pins to output because they are addressed in the main loop
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
}
void loop() {
digitalWrite(latchPin,LOW);
digitalWrite(dataPin,LOW);
//Try to press play
shiftOut(dataPin, clockPin, LSBFIRST, B00000000);
shiftOut(dataPin, clockPin, LSBFIRST, B00000100);
shiftOut(dataPin, clockPin, LSBFIRST, B00000000);
shiftOut(dataPin, clockPin, LSBFIRST, B00000000);
digitalWrite(latchPin,HIGH);
digitalWrite(dataPin,HIGH);
}
would be happy if somone know whats going on why it makes the random stuff??
been messing with this for a month now and haven't figured it out
i've posted this here because LC75854E is a lcd/keypad controller