diff -r 7d89d719583e -r efa6ff02287c src/FutabaVfd.cpp --- a/src/FutabaVfd.cpp Thu May 22 14:57:11 2014 +0200 +++ b/src/FutabaVfd.cpp Thu May 22 16:46:50 2014 +0200 @@ -239,11 +239,21 @@ report[3]=0x5B; //Command ID report[4]=aDw; //Specify our DW report[5]=aX; //X coordinate of our DW top-left corner - report[5]=aY; //Y coordinate of our DW top-left corner + report[6]=aY; //Y coordinate of our DW top-left corner Write(report); } /** +Change our display position within our buffer. +*/ +void GP1212A01A::SetDisplayPosition(int aX, int aY) + { + //Specs apparently says both DW should remain the same + //Just don't ask + SetDisplayPosition(GP1212A01A::DW1,aX,aY); + SetDisplayPosition(GP1212A01A::DW2,aX,aY); + } +/** */ void GP1212A01A::RequestId() {