supercrab / arduino-seven-segment

Arduino Library for 7 Segment LCD/LED Displays
20 stars 7 forks source link

LCD LASCAR DDM4 #3

Closed Ivra23 closed 5 years ago

Ivra23 commented 6 years ago

Hello, Thank you for your library which is very interesting and helps a lot of people. I have LCD LASCAR DDM4, I connected CK, DI and LOAD, to pin 3,4 and 5 and DEGREES, COLON and POINT to BP for now. but I can not operate the LCD, they show me weird characters. You can help me? Thank you so much,

Ivra23 commented 6 years ago

Hello, If i write 5 i have 2 in the right and if i write 2 i have H, 0 i have 9. I don't know why ? I just use Basic example.

#include <SevenSegment.h>

#define CLOCK 3 // Arudino digital 3-> AY0438 clock
#define DATA  4  // Arudino digital 4 -> AY0438 data
#define LOAD  5  // Arudino digital 5 -> AY0438 load

SevenSegment screen(CLOCK, DATA, LOAD);

void setup(){
    // Set display driver AY0438 and screen definition
    screen.begin("AY0438","8");
}

void loop(){

screen.printNumber(5);
delay(200);

}
supercrab commented 6 years ago

Hi I think you have wired up your segments incorrectly. You have to wire segment A, then B , etc

On Tue, 28 Aug 2018 at 08:45, Ivra23 notifications@github.com wrote:

Hello, If i write 5 i have 2 in the right and if i write 2 i have H, 0 i have 9. I don't know why ? I just use Basic example.

include

define CLOCK 3 // Arudino digital 44 -> AY0438 clock

define DATA 4 // Arudino digital 46 -> AY0438 data

define LOAD 5 // Arudino digital 45 -> AY0438 load

SevenSegment screen(CLOCK, DATA, LOAD);

void setup(){ // Set display driver AY0438 and screen definition screen.begin("AY0438","8"); }

void loop(){

screen.printNumber(5); delay(200);

}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/supercrab/arduino-seven-segment/issues/3#issuecomment-416484153, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDJJLZczmceiWB3dCSWQDzMTTvWIC9Fks5uVPT-gaJpZM4WN3Wy .

supercrab commented 6 years ago

Hi

Thanks for your kind words!

I’ve looked at the spec sheet for your LCD screen and it looks like my library won’t work for your display :(

The mechanism for communicating is the controller is directly wired to the screen nd expects the data in a certain order. The library would need to be rewritten.

Thanks Mase

On Mon, 27 Aug 2018 at 15:13, Ivra23 notifications@github.com wrote:

Hello, Thank you for your library which is very interesting and helps a lot of people. I have LCD LASCAR DDM4, I connected CK, DI and LOAD, to pin 3,4 and 5 and DEGREES, COLON and POINT to BP for now. but I can not operate the LCD, they show me weird characters. You can help me? Thank you so much,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/supercrab/arduino-seven-segment/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDJJELI_VuUxQpjvdmXn4EfXuHMI9Ueks5uU_5vgaJpZM4WN3Wy .

Ivra23 commented 6 years ago

Hello, Thank you for your answer, How can I rewrite the library with taking your example. You can just explain to me ?. Thank you

supercrab commented 5 years ago

It looks like supporting your display is outside the scope of the library :(