hi all...
I have an image that is to be moved to a position according to
some values stored on a text file. The latter has the following form
var left top
1 280 540
2 320 260
3 . .
4 . .
.
.
depending on a variable received from the serial port (1,2,3,...), the program must take the corresping values for the left,top position so the image will move to that position. I don t know how to read this file...
Anyone can help me?
Thanks
I have an image that is to be moved to a position according to
some values stored on a text file. The latter has the following form
var left top
1 280 540
2 320 260
3 . .
4 . .
.
.
depending on a variable received from the serial port (1,2,3,...), the program must take the corresping values for the left,top position so the image will move to that position. I don t know how to read this file...
Anyone can help me?
Thanks