Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:31 20 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: Does the PM support Cfunctions/CSubs?

Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9757
Posted: 05:49am 15 Feb 2022
Copy link to clipboard 
Print this post

As per title.

I don't see them mentioned in the PM manual, so I am just curious.

I am specifically wanting to use the additional ports functions such as the serial transmit and receive, and possibly the I2C and SPI transmit and receive C routines.

Yes?
No?
Smoke makes things work. When the smoke gets out, it stops!
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 06:07am 15 Feb 2022
Copy link to clipboard 
Print this post

CSUB
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2832
Posted: 06:17am 15 Feb 2022
Copy link to clipboard 
Print this post

Yes, and at the address below Peter provides an example. (They need to be compiled for the PicoMite, others won't work)

https://www.thebackshed.com/forum/ViewTopic.php?TID=14475&PID=180443#180443#180443
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9757
Posted: 02:41am 16 Feb 2022
Copy link to clipboard 
Print this post

Excellent, thanks.

EDIT: Is there a way to re-compile the serial, I2C and SPI Cfunctions/Csubs for the standard MM series to the PM?  A nice simple application that converts from one to the other would be nice, but probably does not exist.
Edited 2022-02-16 12:46 by Grogster
Smoke makes things work. When the smoke gets out, it stops!
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4147
Posted: 08:39am 16 Feb 2022
Copy link to clipboard 
Print this post

"Just" install the toolchain & use it, I expect.

Worked for me to build the picomite sources, so very likely the same.

(Though it will depend on what those CSUBs do. If they directly access hardware, e.g. I/O ports, those parts will need rewrites similar to the rewrites MMBasic needs on every port.)

John
 
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