Skip to content

Instantly share code, notes, and snippets.

View dhbloo's full-sized avatar

dotblue dhbloo

View GitHub Profile
@dhbloo
dhbloo / index.html
Created December 16, 2024 09:44
Example code to communicate with rapfi WASM module
<head>
<!-- Change this file name to the actual JS file name. -->
<script src="rapfi-multi.js"></script>
</head>
<body>
<input type="text" id="incommand" size="80" onkeydown="keydown()" />
<input type="button" value="SendCommand" onclick="sendCommand()" />
<input type="button" value="Terminate" onclick="terminate()" />
<br />
<textarea id="output" readonly rows="50" cols="120"> </textarea>