Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

gundersen@mastodon.socialG

gundersen@mastodon.social

@gundersen@mastodon.social
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • I keep forgetting how horrible it is to code in C/C++ between my arduino projects.
    gundersen@mastodon.socialG gundersen@mastodon.social

    A bit more Googling gave me a forum post with the solution: swap the order of these two imports:

    #include <TFT_eSPI.h>
    #include <WifiManager.h>

    They both rely on the same #define so the wrong order makes the second one do something wrong.

    Global definitions where multiple libraries can decide to use the same name is such wonderful fun...

    Uncategorized programming cpp arduino

  • I keep forgetting how horrible it is to code in C/C++ between my arduino projects.
    gundersen@mastodon.socialG gundersen@mastodon.social

    I keep forgetting how horrible it is to code in C/C++ between my arduino projects. Here is a story from yesterday, debugging a very peculiar error from the compiler:

    Error: 'fs' was not declared in this scope; did you mean 'fs::FS'?

    This was from a very popular library, so it's weird that I got this error. Googled AI suggested I declare the namespace at the top of the file, but that felt wrong. Why wasn't anyone else getting this error?

    #programming #cpp #arduino

    Uncategorized programming cpp arduino
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups