Differences
This shows you the differences between two versions of the page.
manual:chapter6:usb:cmd_usbstatus [2019/11/01 14:11] jojo1973 created |
manual:chapter6:usb:cmd_usbstatus [2019/11/01 14:17] jojo1973 better example |
||
---|---|---|---|
Line 39: | Line 39: | ||
<callout type="info" icon="true" title="Usage"> | <callout type="info" icon="true" title="Usage"> | ||
---- | ---- | ||
+ | The following program | ||
<code> | <code> | ||
- | + | « DO | |
- | 1: | + | UNTIL |
- | …………………………………………………………………………………… | + | USBSTATUS #3h == |
- | USBSTATUS | + | END |
+ | "OK" | ||
+ | » | ||
</code> | </code> | ||
- | will result in | + | will result in the calculator waiting in a loop for a connection to the PC to be estabilished and |
<code> | <code> | ||
- | 1: #3h | + | 1: "OK" |
…………………………………………………………………………………… | …………………………………………………………………………………… | ||
</code> | </code> | ||
- | if the calculator is connected to a PC and the OS has correctly recognized its presence. | + | once the connection is done. |
</callout> | </callout> | ||