Hi Wilbo.
I am guessing that the driver was for monochrome displays and then extended to color later (although i don't know that for sure). Many different displays use the same controller. I see the controller name in the compiler code and have not investigated how that is specified. I could just be an internal reference. From the manual though this is specified by a combination of importing GraphColor and specifying X-Y addressing mode as follows:
// This modus must be imported by:
From LCDGraphic import GraphColor;
Define LCDgraphMode = XYaddress, iData; // colored xy-address mode
Regards
==========================================================================
Hallo Wilbo.
Ich vermute, der Treiber war für monochrome Displays gedacht und wurde später auf Farbdisplays erweitert (das weiß ich aber nicht genau). Viele verschiedene Displays verwenden denselben Controller. Ich sehe den Controllernamen im Compilercode und habe nicht untersucht, wie dieser angegeben wird. Es könnte sich nur um eine interne Referenz handeln. Laut Handbuch wird dies jedoch durch eine Kombination aus dem Importieren von GraphColor und der Angabe des X-Y-Adressierungsmodus wie folgt angegeben:
Dieser Modus muss importiert werden durch:
From LCDGraphic import GraphColor;
Define LCDgraphMode = XYaddress, iData; // Farbiger X-Y-Adressmodus
Grüße
I am guessing that the driver was for monochrome displays and then extended to color later (although i don't know that for sure). Many different displays use the same controller. I see the controller name in the compiler code and have not investigated how that is specified. I could just be an internal reference. From the manual though this is specified by a combination of importing GraphColor and specifying X-Y addressing mode as follows:
Code
// This modus must be imported by:
From LCDGraphic import GraphColor;
Define LCDgraphMode = XYaddress, iData; // colored xy-address mode
Regards
==========================================================================
Hallo Wilbo.
Ich vermute, der Treiber war für monochrome Displays gedacht und wurde später auf Farbdisplays erweitert (das weiß ich aber nicht genau). Viele verschiedene Displays verwenden denselben Controller. Ich sehe den Controllernamen im Compilercode und habe nicht untersucht, wie dieser angegeben wird. Es könnte sich nur um eine interne Referenz handeln. Laut Handbuch wird dies jedoch durch eine Kombination aus dem Importieren von GraphColor und der Angabe des X-Y-Adressierungsmodus wie folgt angegeben:
Code
Dieser Modus muss importiert werden durch:
From LCDGraphic import GraphColor;
Define LCDgraphMode = XYaddress, iData; // Farbiger X-Y-Adressmodus
Grüße