inc/FutabaVfd.h
changeset 22 efa6ff02287c
parent 21 7d89d719583e
child 23 d4e164906a1b
     1.1 --- a/inc/FutabaVfd.h	Thu May 22 14:57:11 2014 +0200
     1.2 +++ b/inc/FutabaVfd.h	Thu May 22 16:46:50 2014 +0200
     1.3 @@ -110,12 +110,6 @@
     1.4  class GP1212A01A : public GP1212XXXX
     1.5  	{
     1.6  public:
     1.7 -    enum DW
     1.8 -    {
     1.9 -        DW1=12,
    1.10 -        DW2=13
    1.11 -    };
    1.12 -
    1.13  	int Open();
    1.14  	//From FutabaGraphicVfd
    1.15  	virtual int WidthInPixels(){return 256;};
    1.16 @@ -130,11 +124,21 @@
    1.17  	void SetPixelBlock(int aX, int aY, int aHeight, int aSize, unsigned char aValue);
    1.18      void SetPixelBlock(int aX, int aY, int aHeight, int aSize, unsigned char* aPixels);
    1.19      //
    1.20 -    void SetDisplayPosition(DW aDw,int aX, int aY);
    1.21 +	void SetDisplayPosition(int aX, int aY);
    1.22      //
    1.23      void RequestId();
    1.24      void RequestFirmwareRevision();
    1.25      void RequestPowerSupplyStatus();
    1.26 +
    1.27 +private:
    1.28 +	enum DW
    1.29 +		{
    1.30 +        DW1=0xC0,
    1.31 +        DW2=0xD0
    1.32 +		};
    1.33 +
    1.34 +	void SetDisplayPosition(DW aDw,int aX, int aY);
    1.35 +
    1.36  private:
    1.37  	///
    1.38  	//FutabaVfdReport iReport;