/bl-monocle-reactjs-pwa

An app that extends the bluetooth comms

Primary LanguageJavaScript

About

This is a very basic web-editor that can combine scripts stored in local storage and write to monocle flash.

There is mobile support (basic responsive design)

The rest of the app (hidden sidebar) is in progress. That stuff is still in progress/conceptual regarding how to manage/merge apps on monocle.

Live Demo

View github pages build here

Basic instructions

  • connect to your monocle
  • write python (mpython) as a snippet
    • run single snippet (play icon)
    • or write to flash
      • need main.py
      • separate file(s) for modules

Use

import os
os.listdir("/")

To verify written files, and read contents

LocalStorage

That's where the code snippets are stored as a basic stringified JSON object

Check other branches

Has different sample code

Disclaimer

This does not have a linter (does not understand code). Also does not feature code highlighting.

This assumes whatever code you're writing will work and if there are errors you'll only see them during the upload process (writing to monocle).