uSEQ Specs
URL
You can access the editor from
https://useq.emutelabinstruments.co.uk/
or you can use the embedded editors within this website.
Connecting
Hit the Connect
button in the corner, and you’ll see a list of devices to connect to. Names might vary across systems, it’s possible the name will have ‘rp2040’ in it, and it’s likely to be the name at the top of the list.
Code
Code gets saved automatically in your browser’s local storage as you type, and will be automatically restored when you reopen the web page from the same browser. You can also manually load and save to your computer using the buttons.
Running code
Place the cursor within a Modulisp statement, and hit ctrl-enter
to run immeadiately or alt-enter
to run at the start of the next bar.
Getting help
Press alt-h for key commands
Structural Editor
We use CodeMirror Clojure Mode structural editor. The strucutral is aware of the syntax of the language being edited, so it will try and restrict you to only adding valid LISP statements by automatically managing the placement of brackets. The ‘slurping’ and ‘barfing’ functions are particularly useful for adding or removing items from lists.
Running the editor offline
It’s possible to run the editor locally, with no need for internet access.
- Download or clone the git repo
- You’ll need to have node installed
- To set up the packages, run
npm install
- To run the editor:
npm run dev
Disconnecting
Simply reload the webpage, and the connection will be dropped.
Troubleshooting
Connection problems
On linux or unix based operating systems, this page may have a solution:
https://support.arduino.cc/hc/en-us/articles/360016495679-Fix-port-access-on-Linux