I made a function that makes the ones I want. the problem is, that they can only be fitted into the first 8 slots of the chart of caracters. that means that i also have to build some clever function that searches and replaces all this chars before i print them out to the lcd.. How could would it have been if you could have changed them all? you could make your own font or bricks for a game or something like that...
anyway.. if someone from sweden needs this function, here it is..
(just call the function below somewere inside your setup().)
void createSweCaracters(){
byte AwithRing[8] = {
B00100,
B01010,
B01110,
B00001,
B01111,
B10001,
B01111,
};
byte AwithDots[8] = {
B01010,
B00000,
B01110,
B00001,
B01111,
B10001,
B01111,
};
byte OwithDots[8] = {
B01010,
B00000,
B01110,
B10001,
B10001,
B10001,
B01110,
};
byte CapitalAwithRing[8] = {
B00100,
B01010,
B01110,
B10001,
B11111,
B10001,
B10001,
};
byte CapitalAwithDots[8] = {
B01010,
B00000,
B01110,
B10001,
B11111,
B10001,
B10001,
};
byte CapitalOwithDots[8] = {
B01010,
B00000,
B01110,
B10001,
B10001,
B10001,
B01110,
};
lcd.createChar(1, AwithRing);
lcd.createChar(2, AwithDots);
lcd.createChar(3, OwithDots);
lcd.createChar(4, CapitalAwithRing);
lcd.createChar(5, CapitalAwithDots);
lcd.createChar(6, CapitalOwithDots);
}
after that you can use
lcd.write(1);
lcd.write(2);
lcd.write(3);
lcd.write(4);
lcd.write(5);
lcd.write(6);
to print them out to your display...