Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

Font taken from ColorGraphicLCDAdapterDemo

Hi,

To start with the received Digole display i used ColorGraphicLCDAdapterDemo to learn settings the settings and learned on the fonts.

Display is 3.8B +2M ram (unfortunatly ordered wrong display, no touchscreen.....my bad).

Not easy to start. Color changing needs to write char otherwise pixels change to late from color. Bypass but strange.

Background color does not change. on \x01 but still fairly light blue.

Did the same for characters in nice RED and that does work.

But i have an issue with the displayed fonts. The characters displayed always have some kind of 'tickmark' at the start,bottom or end. They are not clear characters. There are more pixels shown than the character.

Any idea how to resolve this?

 

 

RE:Font taken from ColorGraphicLCDAdapterDemo

Why are the background colors and characters constantly changing? Need to put a mydisp.write(' '); to force some consistancy in colors.
Background \x00 but characters seem to have a brown-isch background. If this is needed put it in the library after any change of color/direction whatever.
This can't be true.

How to clear any mishaps from trying to load an image screen? Any advice?

 

RE:Font taken from ColorGraphicLCDAdapterDemo

 Ok, using 8 bit font notation now. That's better.

 

Managed to get the welcome screen upload cia the command upload.

Can display it via Coolterm.

 

now how to trigger it from arduino sketch

all i see in top are 0,0,255,65,240 values decimal

What would be the starting address from arduino sketch and length

3 bytes.....please guide me

 

picture is not perfect, some mutalation on 80% of the picture. And seems smaller than 320x240

 

RE:Font taken from ColorGraphicLCDAdapterDemo

Hi,

Sent you an email to request support.
Strange things happen writing some text onto the Display. It is just not showing whatever i try.
 

void display_frequency()
{
  uint16_t f1,f2,f3;
  char tfreq[]="";

  f1 = vfo / 1000000;     //variable is now vfo instead of 'frequency'
  f2 = (vfo % 1000000) / 1000;
  f3 = vfo % 1000;
 
  sprintf(tfreq,"%2d.%03d.%03d",f1,f2,f3);
  lcd.print(tbfo);

  mydisp.setFont(fonts[5]);
  mydisp.setColor(RED);
  mydisp.setTextPosAbs(20,100);
  mydisp.print("LSB");      <------ never shows also not when writing tbfo var instead. If i use .write('L')instead i get a vertical line under 45deg approx 1+ cm long. Very strange.
  mydisp.setColor(WHITE);
  //mydisp.setTextPosAbs(90,100);
  mydisp.print(tfreq);  <---------does show at 20,100 and when using above line it also moves to the right. That is working
  mydisp.setColor(RED);
  mydisp.print(" Hz");  <------- never shows also not when put directly after writing tfreq 2 lines above.
  delay(1000);
  mydisp.write('!');

 

Yesterday updated the fw also to 3.9. Worked as described on your website.
But my model seems to have 16Mb, but all the firmware assumes 2MB. Maybe this is causing the issue?

Hope you can give me advise how to resolve my issues. Don't understand what is happening.

RE:Font taken from ColorGraphicLCDAdapterDemo

Hi,

Sent you an email to request support.
Strange things happen writing some text onto the Display. It is just not showing whatever i try.
 

void display_frequency()
{
  uint16_t f1,f2,f3;
  char tfreq[]="";

  f1 = vfo / 1000000;     //variable is now vfo instead of 'frequency'
  f2 = (vfo % 1000000) / 1000;
  f3 = vfo % 1000;
 
  sprintf(tfreq,"%2d.%03d.%03d",f1,f2,f3);
  lcd.print(tbfo);

  mydisp.setFont(fonts[5]);
  mydisp.setColor(RED);
  mydisp.setTextPosAbs(20,100);
  mydisp.print("LSB");      <------ never shows also not when writing tbfo var instead. If i use .write('L')instead i get a vertical line under 45deg approx 1+ cm long. Very strange.
  mydisp.setColor(WHITE);
  //mydisp.setTextPosAbs(90,100);
  mydisp.print(tfreq);  <---------does show at 20,100 and when using above line it also moves to the right. That is working
  mydisp.setColor(RED);
  mydisp.print(" Hz");  <------- never shows also not when put directly after writing tfreq 2 lines above.
  delay(1000);
  mydisp.write('!');

 

Yesterday updated the fw also to 3.9. Worked as described on your website.
But my model seems to have 16Mb, but all the firmware assumes 2MB. Maybe this is causing the issue?

Hope you can give me advise how to resolve my issues. Don't understand what is happening.

RE:Font taken from ColorGraphicLCDAdapterDemo

Ok, the bugs are clear.

mydisp.print("LSB"); will not be written.

mydisp.print("000"); willl be written, so it will only print numbers and no longer characters.

Please your help where this is coming from or how to reset this behaviour.

In previous routine the last mydisp.print(i) statement was also writing a numeric value. And that worked. But after trying to write "abcd......" it isn't working.

 x=20;
  y=50;
  mydisp.setTextPosAbs(x,y);
  mydisp.print("000");
  mydisp.drawStr(x,y,"000");

For above the value "000" is printed ok by the .print ("000"); Ok position.

But the mydisp.drawStr(x,y,"000"); positions the text at 0,0 so that is also not working correctly. And it will also not write characters (abcde...)

Please your help where this is coming from or how to reset this behaviour.

RE:Font taken from ColorGraphicLCDAdapterDemo

 Sorry for the delayed response due to holiday off.

1) for background color: please modify this line to the firmware version on the display:
#define Ver 39
Modify the number of 39 same with the firmware.
In older version of firmware(V3.5 and older), the set background color was used via different way

2) some large size fonts only have numbers and "+-*/", no other letters, that's why you can't print "LSB".

3) if you see any strange pixels around letters on display, it usually caused by the power supply, you can add a filter capacitor on the power to reduce the noise on power, or upgrade the firmware to newest(we extent the delay time when power on)

4) there are 2 ways to position the letters on the display, one is pixels, like in: mydisp.setTextPosAbs(x,y), another is letter position, like in: mydisp.drawStr(x,y,"000"), in the 2nd way, the valid value are depends on the size of font and the size of the display panel, the code:mydisp.drawStr(20,50,"000") may out of range due to the display can't show 50 rows of letters on the screen.

RE:Font taken from ColorGraphicLCDAdapterDemo

Hope we agree that having a font without characters is absolutely unusable.

So when will this be fixed?

 

RE:Font taken from ColorGraphicLCDAdapterDemo

The internal fonts are limited due to the flash memory on MCU, you can use any fonts here, and download it to on board flash chip:

https://github.com/olikraus/u8glib/wiki/fontsize

fonts' data here:

https://github.com/olikraus/u8glib/tree/master/fntsrc

You also can convert any image to font by using our online tool:

http://www.digole.com/forum.php?topicID=330

RE:Font taken from ColorGraphicLCDAdapterDemo

seems i can't update the fonts if i have flash.

Will have to consider looking for other display. This is getting way and way to complex to bring to the user community. Fonts without chars. MSB/LSB and addresses.

Some have issues enough getting things wired.

And it will eat the arduino available memory space without further use.

Note that the BITX40 kit (hfsigs.com) is going viral so a suitable larger display for all to play with might become a market to pursue.

RE:Font taken from ColorGraphicLCDAdapterDemo

 Setup might be little bit tricky, but using should be simple, you only need to download your desired fonts to the module one time, then you can use it just cost few bytes of command, it will not occupy any more program space in master controller even the font's data is over 100K.

Compare that your master controller to handle graphic, fonts, flash memory, touch screen, our display module is worth to you to spend some time to set it up.

RE:Font taken from ColorGraphicLCDAdapterDemo

And how do i teach people to do all this?

The reference BITX40 kit is difficult enough for most. Programming Arduino C is a next step and for most not their piece of cake.

Could only get the welcome screen (320x240) to load via the converter page. Modify the upload page by editing the notepad file to only issue the command. As all unreadable characters.
Shows perfect on this converter page, but when loaded not a 0,0 starting and smaller, containing noise at 90% of the picture.
And then how to call it from the program, what is the starting address? As all is unreadable to due to hex notation.

Need something that does not give limits or requires me to load 10K of data to get a font with characters. Only have 20k in Arduino for Uno/Nano.
Already at 50% without this just for the logic of the program.

RE:Font taken from ColorGraphicLCDAdapterDemo

You don't need to include splash screen and fonts data in your source code of Arduino, the simple way is to use a USB->UART adapter, and then send such data from computer to display(the display must be setted at UART module at this time), then all data will saved on the display even power off.

In your Arduino code, just tell the display where the addresses of splash screen and your fonts, then the display will handle it by self.

The splash screen started at address 0, you can use "SSS" then MSB,LSB(the following length of data)..., to save the splash screen data to module, you don't need know where is the data saved even I told you address 0.

Font's data can be stored any where in 2MB flash chip by using flash write function(address up to 0x1FFFFF), or include "FLMWR"+3 bytes address+3 bytes data length in the binary file if you want send font to display through USB adapter, don't overwrite other useful data.

Then use:

setFlashFont(unsigned long int addr);
 
to use the new font in flash chip.
For more detail, please refer to the Manual
 
Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun