Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:08 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : mmedit

Author Message
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2566
Posted: 10:56pm 21 Jul 2022
Copy link to clipboard 
Print this post

Good Day sirs, I'm a newbie to mmbasic but it's working with tera term, I'm impressed but want mmedit as it " I think" save files to windows.
I set mmedit to picomite and com 13 which tera term shows it as usb port.
I tried typing print "test" but don't know what to do next to get the program to run on  ili9341 which is working fine.
I searched for mmeditor rpipico/picomite.
If I use mmedit. v4+ do I need to use tera term?
Sorry, It's a new system for me.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2566
Posted: 11:17pm 21 Jul 2022
Copy link to clipboard 
Print this post

I got notepad ++ but don't know how to set it up for the ripico and mmbasic.
The full screen editor in mmbasic loses the help at the bottom if it's resized.
I'd rather a windows editor that saves the code to a win file and lets me run the code from the editor.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1003
Posted: 12:03am 22 Jul 2022
Copy link to clipboard 
Print this post

See the MMEdit5 thread here for details on the MMedit5.

You can see Jims site listed under his signature where you can get MMedit V3,V4,V5

With MMEdit5 you can use TeraTerm along side the MMEdit5 editor. The bit in the middle is MMCC  (Maximite Control Centre) which interfaces the Picomite. (The earlier MMEdit V4 and V3 did there own communication with the Picomite).
I would recommend the MMEdit5, MMCC and Teraterm combination, though for an initial quick setup to get the feel MMEdit4 might be simpler.You can have both installed.
Gerry
Latest F4 Latest H7 FotS
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2640
Posted: 12:17am 22 Jul 2022
Copy link to clipboard 
Print this post

In TeraTerm you can save your program to the PC with Xmodem.
Press F12 to initiate XMODEM SEND on the Pico then click File -> Transfer -> XMODEM -> Receive. Choose a location, give the file to save a name and away it goes. If you take too long it will timeout.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:54am 22 Jul 2022
Copy link to clipboard 
Print this post

Whatever Windows editor you use, you write the code on Windows, save it on Windows and then transfer the file to your picomite. You then RUN the code on the picomite.

You decide if you are going to save the program to the SD card on the pico as well as the PC (if you have the SDcard attached) or send to code to the program memory.


Think of MMEdit as an editor and terminal combined. You can use it standalone or in combination with TeraTerm and/or Notepad++.

If you do use MMEdit, I would prefer you to use V5. It is missing a few features at the moment but I nearly have the file manager working reliably.
I will not be giving MMEdit V4 any more love.

Notepad++ and TeraTerm make a good pair.
Write code in Notepad++
Put AUTOSAVE as the first line
Select all and copy.
change to TeraTerm and paste.
Control-Z when finished transferring and your code will be in the current program area on the picomite.

You may have to tweak the line delay setting on TeraTerm.

Jim
VK7JH
MMedit
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2640
Posted: 06:54am 22 Jul 2022
Copy link to clipboard 
Print this post

"I tried typing print "test" but don't know what to do next to get the program to run on  ili9341 which is working fine."

Unlike the VGA version the internal console and editor are not available on the ILI9341 as SPI is too slow for useful scrolling.

"TEXT X, Y, STRING, ALIGNMENT, FONT, SCALE, C, BC
Displays a string starting at X and Y. ALIGNMENT is 0, 1 or 2 characters (a string expression or variable
is also allowed) where the first letter is the horizontal alignment around X and can be L, C or R for LEFT,
CENTER or RIGHT aligned text and the second letter is the vertical alignment around Y and can be T, M
or B for TOP, MIDDLE or BOTTOM aligned text. The default alignment is left/top. An additional code
letter can be used to rotate the text (see below for the details). FONT and SCALE are optional and default
to that set by the FONT command. C is the drawing colour and BC is the background colour. They are
optional and default to that set by the COLOUR command."

eg
TEXT mm.hres/2, mm.vres/2, "Test", "CM"
.
Edited 2022-07-22 22:25 by phil99
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025