# Using multiple programming languages in Arduino

**URL:** <https://forum.core-electronics.com.au/t/using-multiple-programming-languages-in-arduino/12031>\
**Category:** Arduino\
**Created:** [5 November 2021 19:01 UTC](https://forum.core-electronics.com.au/t/using-multiple-programming-languages-in-arduino/12031 "2021-11-05T19:01:29Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Liam120347](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam120347/32/5003_2.png) [@Liam120347](https://forum.core-electronics.com.au/u/Liam120347)\
**Post date:** [16 November 2021 02:23 UTC](https://forum.core-electronics.com.au/t/using-multiple-programming-languages-in-arduino/12031/8 "2021-11-16T02:23:23Z")

</div>

Hey Pete,

Scott from Adafruit touched on this a while ago in one of his deep dives: [https://youtu.be/LXAwW2IYT7o?t=1931](https://youtu.be/LXAwW2IYT7o?t=1931)  
The proposed idea was to run a different language on each core of the RP2040, CircuitPython as the ‘handler’ and C running all of the ‘real-time’ tasks.

> [@Pete56180](#):
>
> I will have at least three different _operational functions_ (including setpoint control) which all need to be executable in the application.

Once you start talking about a control system it would also be worth taking a look at threading tasks, making sure that you can execute them in a prioritised order and periodically (note interupts as well).

* * *

You could also go the route of using a few microprocessors running different languages to handle the sensors and a main processor for Comms. The Pico (also the heart of the RP2040 Connect) is $6 and a very very good value MCU. I2C would be perfect for this, see Core’s smart modules for some inspiration and Rob’s stackable control units

[![](https://img.youtube.com/vi/K8y9y2PeUKM/maxresdefault.jpg "The Factory | How We Make Custom I2C Modules: A Deep Dive") ](https://www.youtube.com/watch?v=K8y9y2PeUKM)

> [@A new base board for the Adafruit Itsy Bitsy M4](https://forum.core-electronics.com.au/t/a-new-base-board-for-the-adafruit-itsy-bitsy-m4/11950):
>
> I’ve been tinkering with an idea for a general-purpose base/carrier board for the Adafruit Itsy Bitsy M4. The idea is to have an Arduino-like system that allows stacked boards to be addressed and also allows for small amounts of IO circuitry to be connected to the edges of the main PCB. Maybe this video will help explain. [Video about the board.](https://www.youtube.com/watch?v=GN-PSm5v7ro) I don’t show the “walls” in the vid because they are not designed yet for this version, but here is a photo of a previous version that is very simila…

---

_[View the full topic](https://forum.core-electronics.com.au/t/using-multiple-programming-languages-in-arduino/12031)._
