Y
Hacker News
new
|
ask
|
show
|
jobs
by
cowabungamann
3188 days ago
I'm very inexperienced with C, but why does this repo include so much of the implementation in header (.h) files?
1 comments
TD-Linux
3188 days ago
Arduino sketches don't have a "project file" to list which .c files to compile, so instead you just include all the code into one compilation unit. This works fine as most projects don't take long to compile anyway.
link