Hi again.
Ok, I got that part working.
Alas there is a problem - and when isn't there?
This "alarm clock V5" code:
The display has two options - standard font and a BIG font.
I was only going to use the small font, but I now see that the BIG one may be better.
So, ok, I look at the main part of the code and find this:
PROGMEM prog_char lcd_chr0[]={64,64,64,64,64,64,64,64,0};// 0
PROGMEM prog_char lcd_chr1[]={64,64,64,64,64,31,31,31,0};//1
PROGMEM prog_char lcd_chr2[]={64,64,64,31,31,64,64,64,0};//2
PROGMEM prog_char lcd_chr3[]={64,64,64,31,31,31,31,31,0};//3 {64,64,64,31,31,64,31,31,0};
PROGMEM prog_char lcd_chr4[]={31,31,31,64,64,64,64,64,0};//4
PROGMEM prog_char lcd_chr5[]={31,31,64,64,64,31,31,31,0};//5
PROGMEM prog_char lcd_chr6[]={31,31,31,31,31,64,64,64,0};//6 {31,31,64,31,31,64,64,64,0}
PROGMEM prog_char lcd_chr7[]={31,31,31,31,31,31,31,31,0};//7 {31,31,64,31,31,64,31,31,0}
// PROGMEM prog_char lcd_chr8[]={0x4,0xe,0xe,0xe,0x1f,0x0,0x4}; // added for bell character.
//PROGMEM const char *chr_item[] = {lcd_chr0, lcd_chr1, lcd_chr2, lcd_chr3, lcd_chr4, lcd_chr5, lcd_chr6, lcd_chr7, lcd_chr8};
PROGMEM const char *chr_item[] = {lcd_chr0, lcd_chr1, lcd_chr2, lcd_chr3, lcd_chr4, lcd_chr5, lcd_chr6, lcd_chr7};
Now, I have the two // lines following the pattern giving me a BELL symbol.
But that doesn't work when the BIG FONT is chosen.
Later on in the code I have these lines:
uint8_t bell[9] = {0x4,0xe,0xe,0xe,0x1f,0x0,0x4}; // unknown number to use to keep it from not altering the BIG FONT.
void render_RTC(int temp)
{
lcd.createChar (9, bell);
But that doesn't work either.
No matter what I do, somehow the BIG FONT is corrupted with my BELL symbol.
I shall look at the BIG FONT files, but if they have things to do with programming the characters, what are the initial lines in the first block doing?
Sorry for asking all these "silly" questions. I am trying myself as well.