Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams authored May 9, 2024
1 parent 677f21b commit be09dc4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/emulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ function onConsoleOutput(txt) {
console.log("EMSCRIPTEN:", txt);
}

/* Initialise the emulator,
options = {
EMULATOR : "banglejs"/"banglejs2"
DEVICEID : "BANGLEJS"/"BANGLEJS2"
rxCallback : function(int) - called every time a character received
consoleOutputCallback : function(str) - called when a while line is received
}
*/
exports.init = function(options) {
if (options.EMULATOR)
EMULATOR = options.EMULATOR;
Expand Down

0 comments on commit be09dc4

Please sign in to comment.