Okay.
After playing around with this a bit, I have gotten this code. All this does however, is make the screen do a disco dance party, turning segments on and off at what seems like random. I must say this is better than before, but not by much. Also, in the example code there is a bit of syntax that says data.7, what the .7 for? Is it something important?
void setup()
{
// 0 1 2 3 4 5 6 7 8 9
//const uint8_t nums[] = { 0xEE, 0x22, 0x7C, 0x76, 0xB2, 0xD6, 0xDE, 0x62, 0xFE, 0xF6 };
pinMode(10, OUTPUT);
pinMode(12, OUTPUT);
digitalWrite(12,LOW);
}
void loop() {
byte nums[] = { 0xEE, 0x22, 0x7C, 0x76, 0xB2, 0xD6, 0xDE, 0x62, 0xFE, 0xF6 };
ea_lcd7s04_write_data_byte(~(nums[0]));
ea_lcd7s04_write_data_byte(~(nums[1]));
ea_lcd7s04_write_data_byte(~(nums[2]));
ea_lcd7s04_write_data_byte(~(nums[3]));
delay(5000);
}
void ea_lcd7s04_write_data_byte(byte data){
for( int count = 0 ; count < 8 ; count++ )
{
digitalWrite(12, HIGH);
digitalWrite(10, data & 0x80);
data = data << 1;
digitalWrite(12, LOW);
delay(200);
}
}
So this is basically your code, with the second half of the example code added. I used 1234 as a target, seemed do able... Anyway, let me know if you have any ideas why this might be acting so strangely.