Output from WAIT(-1)
|
01-06-2021, 09:57 PM
Post: #1
|
|||
|
|||
Output from WAIT(-1)
Hi all,
In a program I am making, I use the command WAIT (-1) to register both keystrokes and screen touch. In the documentation I have it says that when I touch the screen I get the following output: {type, [x, y], [dx, dy]}. An example of this is {#3h;#B0:-16h;#96:-16h}. How should I interpret this output? The '#3h' is of course the 'type', and indicates what kind of movement has been recorded. The '#B0' and the '#96' are the x and y coordinates where the screen is touched, but what should I do with those '-16h', and how can I remove it? To make those x and y coordinates usable, it will probably be necessary to convert them to decimal integers. I would like to hear how I can best process this information. Thanks in advance! Sincerely, Karel. I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Output from WAIT(-1) - cahlucas - 01-06-2021 09:57 PM
RE: Output from WAIT(-1) - Joe Horn - 01-07-2021, 04:54 AM
RE: Output from WAIT(-1) - cahlucas - 01-08-2021, 04:55 PM
RE: Output from WAIT(-1) - Joe Horn - 01-08-2021, 10:20 PM
RE: Output from WAIT(-1) - cahlucas - 01-09-2021, 06:14 PM
RE: Output from WAIT(-1) - john gustaf stebbins - 01-09-2021, 08:48 PM
RE: Output from WAIT(-1) - cahlucas - 01-09-2021, 09:36 PM
|
User(s) browsing this thread: 5 Guest(s)