# What's new in V5

MMEdit5 installs to a different location so you can safely run both V5 and earlier versions on the same PC.
MMEdit V5 is available for Windows in 64bit as well as 32bit versions., Linux (Ubuntu) and RPi (Buster)

You can now have multiple tabs open .

To open files, apart from the usual Open menu, you can drag a file (or many files) from Windows Explorer onto either the desktop shortcut or the already open MMEdit.
You can also drag and drop selected text from another application onto MMEdit. In this case a new file is opened with the copied text inserted.
You can 'clone' a file. Handy if you are going to make major edits and wish to keep the original file intact.

Find has the option to search all open files. In this case a popup window similar to the function list appears listing all occurrences of the search term.
One use for this is to list all places which call a function of interest.

We now have auto-completion and code folding.
Folding is remembered between tabs but not when saving files.

Crunch now removes unneeded space characters. This gives good improvement to file size reduction at the expense of readability.
Crunch results are returned in a new file, leaving the original file intact.

All communication with the target systems is now done via Maximite Control Centre which is based on MMUploader.
To tell MMCC what device you are sending to, the first line of your code can be used. This is optional and the destination device can also be configured in MMCC. Setting in MMCC is the prefered way to start.

If you want to use the first line of your code to control MMCC, a simple
'target dev\myCMM2G2 kw\cmm2
or 'target port\com4:115200 s\picomite settime\
is all that's needed.

Crunch etc will leave that first line intact.

MMCC can also be used to send files directly to your device, bypassing MMEdit.
If you are running an external pre-processor, MMEdit can send to file to your program and your external program can either return the result to MMEdit or go directly to MMCC.
To update the firmware of a picomite, simply drag the *.uf2 file onto the MMCC shortcut and sit back.

You can connect TeraTerm or your preferred terminal program to MMCC and MMCC will switch seamlessly between uploading files and normal terminal use.
MMCC has a file manager similar to the one in MMEdit V4 with the ability to transfer files to and from the flash slots on a picomite.

MMCC can also be used to monitor communication between TeraTerm and the connected device.

Last edited: 21 August, 2022