Skip to main content

Timeline for Using functions in header files

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Mar 21, 2024 at 19:21 comment added SusanW Sorry Spyro, this answer makes absolutely no sense - downvoted.
Mar 24, 2021 at 18:29 comment added Spyro 999 I'm on a work trip right now and my pc is home
Mar 23, 2021 at 17:35 comment added Juraj so change it back and you see it will still work
Mar 23, 2021 at 17:24 comment added Spyro 999 Anyway, it worked
Mar 22, 2021 at 16:06 comment added Juraj no. #include takes a file name. and it doesn't care about the content of the file
Mar 22, 2021 at 16:00 comment added Spyro 999 Maybe the guard macro name has to be the name using in the #include of the main sketch but it works now I have done this
Mar 22, 2021 at 15:59 vote accept Spyro 999
Mar 22, 2021 at 15:58 comment added Spyro 999 It's weird but it fixed my problem
Mar 21, 2021 at 14:52 comment added Juraj there is no relation between the include guard macro name and the name of the file. this answer is wrong.
Mar 21, 2021 at 14:39 history answered Spyro 999 CC BY-SA 4.0