http://monitzer.com/iowarrior/
I need to modify certain parts of that code...
Code: Select all
data[0]=0x04;
data[1]=0x01;
data[2]=0x00;
data[3]=0x00;
data[4]=0x00;
data[5]=0x00;
data[6]=0x00;
data[7]=0x00;
data[8]=0x00;
IOWarriorWriteToInterface(self->iowarrior, 0x8, data);
data[0]=0x05;
data[1]=0x02;
data[2]=0x01;
data[3]=0x0c;
data[4]=0x00;
data[5]=0x00;
data[6]=0x00;
data[7]=0x00;
data[8]=0x00;
IOWarriorWriteToInterface(self->iowarrior, 0x8, data);
(The reason is, I use an app that drives the screen, but due to certain circumstances, I must exit this app occasionally with a KILL command - doing that (even a KILL -3) quits the app but leaves the screen lit and with a static display - the last frame of data sent by the now-dead app. I want to close it down with the little code I speak if, in a standalone exec.)
blakespot