Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:36 21 Nov 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 : Picomite port to Arduino RP2040 Connect

Author Message
scott14468
Newbie

Joined: 18/07/2022
Location: United States
Posts: 4
Posted: 05:16pm 11 Sep 2022
Copy link to clipboard 
Print this post

Hi All,

I was wondering if anyone has plans to port MMBASIC to the Arduino RP2040 connect platform.  Specifically, the Pico's gpio pins don't map the master SPI to the connect's hardware.  Otherwise, it would probably work as it is.

Thanks,
Scott
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4147
Posted: 05:43pm 11 Sep 2022
Copy link to clipboard 
Print this post

It looks expensive as well as incompatible :(

John
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10628
Posted: 06:09pm 11 Sep 2022
Copy link to clipboard 
Print this post

  Quote  Specifically, the Pico's gpio pins don't map the master SPI to the connect's hardware.


That is because they are not using the H/W SPI pins so I assume that Arduino is bitbanging unless the docs are wrong

  Quote  D11 (COPI), D12 (CIPO), D13 (SCK). Use any GPIO for Chip Select (CS).
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2681
Posted: 11:08pm 12 Sep 2022
Copy link to clipboard 
Print this post

A LGT 328 is like mega328 but 3.3V logic and twice the clock speed ie 32MHz.
I had thoughts of picomite and lcd as a slave for a uno. Silly but cheaper than a nextion display.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10628
Posted: 08:28am 13 Sep 2022
Copy link to clipboard 
Print this post

  Quote  I had thoughts of picomite and lcd as a slave for a uno.


That is a bizarre idea. You know that you can program the Pico using the Arduino IDE? Doing this gives you access to many of the Arduino libraries (GFX etc.)
https://arduino-pico.readthedocs.io/en/latest/
Of course this doesn't mitigate the fact that the Arduino IDE is c..p compared to any decent development environment (e.g. no debugger)
Edited 2022-09-13 18:30 by matherp
 
pwillard
Guru

Joined: 07/06/2022
Location: United States
Posts: 324
Posted: 01:23pm 13 Sep 2022
Copy link to clipboard 
Print this post

Many argue that you only need a serial connection for Arduino debugging... but let's be honest... if it's all you have... well...  'nuff said.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2681
Posted: 03:52pm 13 Sep 2022
Copy link to clipboard 
Print this post

  matherp said  
  Quote  I had thoughts of picomite and lcd as a slave for a uno.


That is a bizarre idea. You know that you can program the Pico using the Arduino IDE? Doing this gives you access to many of the Arduino libraries (GFX etc.)
https://arduino-pico.readthedocs.io/en/latest/
Of course this doesn't mitigate the fact that the Arduino IDE is c..p compared to any decent development environment (e.g. no debugger)

It is not so bizarre if you have used a nextion display with an 8bit pic.
A nextion costs more than a picomite and a similar touch/sd card spi display together cost.
com is serial from pic to nextion, ie serprint "line x1,y1,x2,y2".
That is over simplifying but the basic idea.
It was just a thought.

ps. Thinking... 8bit to picomite and 8bit as an addon seems more expected.

The Twain shall meet ... and Sinders does go to the ball :)
Edited 2022-09-14 02:17 by stanleyella
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2681
Posted: 05:02pm 13 Sep 2022
Copy link to clipboard 
Print this post

Do arduino ide created files work with mmbasic.
I posted about vga ps2 thingy and one arrived and the "Instructables" stuff is supposed to work with another basic but I must use the arduino ide... AAARRGHH!!!
How does it work with mmbasiic or other basic?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10628
Posted: 05:09pm 13 Sep 2022
Copy link to clipboard 
Print this post

The Arduino IDE supports programming the Pico in the Arduino variant of C++ exactly the same as programming a Uno. It would be possible to write a Basic interpreter in Arduino C++ and then program it to the Pico but whether this has been done I have no idea. MMBasic and Arduino are unrelated and MMBasic cannot be compiled on an Arduino.
My point about your suggestion being bizarre is that if you are programming an Arduino Uno to do something and then just using the Pico as a display controller then you are using 2 uP when one (the Pico) could do it all when programmed in Arduino C++ as you have access to most of the Arduino libraries including all the Adafruit graphics libraries and display support
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2681
Posted: 07:10pm 13 Sep 2022
Copy link to clipboard 
Print this post

  scott14468 said  Hi All,

I was wondering if anyone has plans to port MMBASIC to the Arduino RP2040 connect platform.  Specifically, the Pico's gpio pins don't map the master SPI to the connect's hardware.  Otherwise, it would probably work as it is.

Thanks,
Scott

The original post. I misinterpreted. Sorry, I saw Arduino and thought interfacing with picomite.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2681
Posted: 06:13pm 15 Sep 2022
Copy link to clipboard 
Print this post

  matherp said  The Arduino IDE supports programming the Pico in the Arduino variant of C++ exactly the same as programming a Uno. It would be possible to write a Basic interpreter in Arduino C++ and then program it to the Pico but whether this has been done I have no idea. MMBasic and Arduino are unrelated and MMBasic cannot be compiled on an Arduino.
My point about your suggestion being bizarre is that if you are programming an Arduino Uno to do something and then just using the Pico as a display controller then you are using 2 uP when one (the Pico) could do it all when programmed in Arduino C++ as you have access to most of the Arduino libraries including all the Adafruit graphics libraries and display support


Hi sir, just loaded arduino ide because want to try vga ps2 thingy and following "instructables"
This is info I got for 8bit use.
The whole idea is strange but got to push the boat out
or it is just using what one knows.

I got the impression that arduino ide code can be used with mmbasic or other 8bit basic. Please clarify if again the twain shall meet.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8304
Posted: 06:20pm 15 Sep 2022
Copy link to clipboard 
Print this post

Only a masochist uses the Arduino IDE. It's truly horrid - and huge.
I'm sure there must be a far better way to program those things.  :(
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10628
Posted: 06:48pm 15 Sep 2022
Copy link to clipboard 
Print this post

  Quote  I got the impression that arduino ide code can be used with mmbasic

No, not at all, never
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2681
Posted: 08:10pm 15 Sep 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  Only a masochist uses the Arduino IDE. It's truly horrid - and huge.
I'm sure there must be a far better way to program those things.  :(

You are correct. it is and there are.
I lost the plot for vga ps2 thingy.
It's original poster says just use serial tx, rx, gnd
and the "instructables" link. https://www.instructables.com/Using-ESP32VGA32-Terminal-for-Z80-MBC2/
uninstall arduino ide and forget.
 
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