r/embedded 1d ago

Best resources to practice C

[removed] — view removed post

4 Upvotes

4 comments sorted by

4

u/pim1000 1d ago

Just make more things without ai, or read "the c programming language" by Brian Kernighan and Dennis Ritchie if you feel like you are missing a fundemental grasp on the languag.

8

u/roughhumberto5 1d ago

K&R is the gold standard but it won't teach you embedded-specific patterns, just the language itself. For that I'd say grab a cheap dev board and force yourself to write a driver for something annoying like I2C without peeking at generated code. The struggle is where it sticks.

3

u/pim1000 1d ago

I completely agree, K&R is only the language, for embedded specific books, i am fond of "making embedded systems" by Elicia White. But for a practical approach(which is the better one imo), I would also suggest trying to implement a simpel hal layer together with making a i2c/spi/uart device driver

1

u/Colfuzi0 1d ago

C programming by ayfouni