Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - parallel jobs

(you are viewing a thread; or go back to list of threads)

parallel jobs (by javad)
hi
i want to know if this software do parallel jobs?
Wed Aug 12 2020, 10:48:26
(no subject) (by MGP)
No, do you know a language that does?

But you could say that all instructions are handled in the same cycle time and therefore it seems that they are handled in parallel, that's the advantage of LDmicro.
Sun Aug 16 2020, 04:36:03
(no subject) (by Tom J.)
C++ and Java do multithreading, I assume most languages do.
On a microcontroller is another story, they probably aren't powerful enough.
Sat Aug 22 2020, 10:49:16
(no subject) (by MGP)
Multithreading jobs can be done by any processor with interrupts and I think they all can, even LDmicro is multithreading because the duty cycle is running while the program is running.
With LDmicro you cannot program interrupts, with Picbasic, Mikrobasic-C-Pascal ... etc, you can.

Running two different programs at the same time requires different needs such as stack control (> 18F pic?) or an OS, multi cpus or multi core, then you can use C ++, java ... etc.

But I don't think the TS envisioned that.
Sun Aug 23 2020, 03:14:43
(no subject) (by José)
I have written in C my own very little multitask (cooperative) kernel, running first on AtMega microcontrolers and adapted then to STM32. It may probably be adapted to PIC 18F or 16F. It requires a timer with interrupts and a few assembling language to manage stack...

It's much more simple to program when you have many things to do "at the same time".
Sun Aug 23 2020, 03:30:43
(no subject) (by Tom J.)
IMO, if the application demands are heavy enough to require multithreading it may be time to just consider the SBC route. I've been using Odroid products and C++ for a while and they are powerful and cost effective.
I'm almost done with a robotics project that incorporates a PIC16F628A with LdMicro and an Odroid C0.
Sun Aug 23 2020, 12:58:17
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):