|
|
|
@ -9,8 +9,7 @@ document.getElementById('connect').addEventListener('click', async function () {
|
|
|
|
|
console.error(err);
|
|
|
|
|
throw err;
|
|
|
|
|
}).then((deviceInfo) => console.log(deviceInfo));
|
|
|
|
|
await p7.commands.ram.getFile(254, "@EDIT", "EDIT.CFG", "@EDIT").then((file) => console.log(file));
|
|
|
|
|
await p7.commands.flash.getAllFiles().then((f) => console.log(f));
|
|
|
|
|
|
|
|
|
|
console.log('Done. (in ' + Math.round(performance.now() - time) + 'ms)');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|