Answer the question
In order to leave comments, you need to log in
Microcontroller Programming - C or C++?
Hello!
Please tell me, is C++ used in embedded or only pure C?
For example, programming microcontrollers Atmel, Cortex.
Of course, there are translators even with Python, but what is usually used - pure C plus some kind of headers for the selected microcontroller, or is C ++ also used?
Thank you!
Answer the question
In order to leave comments, you need to log in
It all depends on the resources available. If every byte and every tick counts, then C/ASM. If there are resources with a margin, then at least Python. In the production of real devices, they save on everything, including controllers. Accordingly, C is mainly used to fit all the code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question