Hi, I'm trying to understand the difference between normal C and Embedded C.
Here's what I know:
Normal C is what we use on computers with Windows or Linux. It works with the operating system to do things like print to the screen or read files.
Embedded C is what we use for microcontrollers like AVR or ARM chips. These often don't have an operating system, so we write code that talks directly to hardware - like turning LEDs on/off or reading buttons.
But I'm confused because some microcontrollers (like Raspberry Pi) actually run Linux. If I write normal C programs on a Pi, is that still Embedded C?
I think it's probably the same C language, just used differently with specific hardware. Is there really any difference between C and Embedded C, or is it just the environment where we use the C language that makes the difference?
Here's what I know:
Normal C is what we use on computers with Windows or Linux. It works with the operating system to do things like print to the screen or read files.
Embedded C is what we use for microcontrollers like AVR or ARM chips. These often don't have an operating system, so we write code that talks directly to hardware - like turning LEDs on/off or reading buttons.
But I'm confused because some microcontrollers (like Raspberry Pi) actually run Linux. If I write normal C programs on a Pi, is that still Embedded C?
I think it's probably the same C language, just used differently with specific hardware. Is there really any difference between C and Embedded C, or is it just the environment where we use the C language that makes the difference?
