TiLDA MK4/Run Code
Jump to navigation
Jump to search
Through the REPL
- Todo: Please write how to do that on different operating systems
- todo: how to use a REPL
Windows/WSL
Firstly, identify the serial device (should be a COM port that only shows when you plug the badge in):
- Open Computer Management (compmgmt.msc)
- Navigate to Device Manager
- Expand Ports (COM & LPT)
Alternatively in PowerShell:
Get-WMIObject Win32_SerialPort | Select-Object DeviceID,Description
Then open PuTTY, enter the COM port found above, select Serial, and click Open.
Alternatively in WSL:
sudo screen /dev/ttyS{n}
where {n} is the numeric part of the COM port (e.g. /dev/ttyS4 for COM4).
Use the "mass storage" app
- Only works on OSX at present (2nd Sept 2018)
- easy to do
- make sure to safely eject every time
- has a tendency to corrupt the filesystem - link to reset instructions
- hard to debug errors
- todo: add more information
Use Mk4-Apps tilda_tools
- Probably most convenient, but a bit more involved:
- You can use "./tilda_tools run <file.py>" to run code without copying anything, but if you want to make sure you have all your libraries updated use "./tilda_tools app my_app" instead.
- https://badge.emfcamp.org/wiki/TiLDA_MK4/tilda-tools