Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • It looks to me like you have a copy of the sha256.cpp file in your sketch which is causing the problem. Commented Jan 9, 2016 at 21:25
  • @Majenko , nope, but seeing the sketch would probably be useful... I'll get that into a repo and update the Q. Commented Jan 9, 2016 at 21:27
  • The error message tells me you have. "sketch/sha256.cpp.o:sketch/sha256.cpp:33: first defined here" Commented Jan 9, 2016 at 21:28
  • But I'm not sure how to interpret that. I only have one each of sha256.cpp and sha256.h, and I'm only including sha256.h from one place. I added a link to the sketch I'm using to test above. Commented Jan 9, 2016 at 21:34
  • 1
    Which of the myriad of DHT libraries are you using? Commented Jan 9, 2016 at 21:39