Back on this post to give you some helpfull informations :
-
I think we use the wrong library ( AMO ), I found the U8G library on the net , and I try It : It Works ...
BUT : there is allways a "but" lol , The display is foot on instead of head on so I have to turn my LCD 180° to read it
-
Aparently the 3410 is PCF8812 embed so the library for the PCD8544 Works but with a 96x65 resolution and the PCF8812 works with a 102x72 Resolution . Because both driver are pretty similar ( as read in the datasheets ).
If you want you can try this library and examples given with , and if you don't want to make some wire error keep in mind to read the comment in the sketch to adapt the correct pin connection :
The Original definition in the library :
U8GLIB_PCF8812 u8g( 13, 11, 10, 9, 8 ); // SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9, Reset = 8
( A0 = DCin )
My definition , to avoid confusion with all configuration found around and to be able to swap bitween one library to another :
U8GLIB_PCF8812 u8g( 13, 11, 7, 5, 6 ); // SPI Com: SCK = 13, MOSI = 11, CS = 7, A0 = 5, Reset = 6
This Library works in SPI mode , If I understand SPI mode , all what we do ( bmp , drawing etc etc ), is send to the MOSI pin of the ATM328 , and is very fast
Edit :
The link to the library : sketchbook/libraries/U8glib at master · fornellas/sketchbook · GitHub
Edit 2 ( after 5 minutes reading the sketch entirely ) :
I know why the display is 180° rotated =>
// flip screen, if required
u8g.setRot180();
So I commented the line , and The display is head on now