Page 1 of 1

I'm a newbie in embedded and programming

Posted: Mon Jan 17, 2022 2:59 am
by olaf123
Hello, I'm a newbie in embedded and programming in general. Can I just learn C++, or should I learn C first. I am interested in embedded consumer products mainly. C is more intimate with the controller with my understanding, where C++ makes it easier for you. What are your thoughts? I'm mainly interested in ARM cortex, but I hear pic controllers need C. I understand C and C++ are very similar, but different as well. Thanks

Re: I'm a newbie in embedded and programming

Posted: Mon Jan 17, 2022 10:47 pm
by dhylands
This is really the wrong forum to be asking this question, since it has nothing to do with MicroPython. You should probably go find an LPC forum, perhaps this one: https://community.nxp.com/t5/LPC-Microc ... s/bd-p/lpc

Personally, I would learn C first, since many embedded projects, especially the smaller ones require the use of C. Most of the HAL libraries published by the microcontroller vendors will be done in C. And C is considerably simpler than C++. C is mostly a subset of C++.