We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677f21b commit be09dc4Copy full SHA for be09dc4
lib/emulator.js
@@ -24,6 +24,15 @@ function onConsoleOutput(txt) {
24
console.log("EMSCRIPTEN:", txt);
25
}
26
27
+/* Initialise the emulator,
28
+
29
+options = {
30
+ EMULATOR : "banglejs"/"banglejs2"
31
+ DEVICEID : "BANGLEJS"/"BANGLEJS2"
32
+ rxCallback : function(int) - called every time a character received
33
+ consoleOutputCallback : function(str) - called when a while line is received
34
+}
35
+*/
36
exports.init = function(options) {
37
if (options.EMULATOR)
38
EMULATOR = options.EMULATOR;
0 commit comments