New answers tagged

0

CORRECTED ANSWER I dug back into my code after a comment from Edgar and figured out some needed adjustments. My original solution was mostly correct, but there were some inaccuracies that I want to correct so I'm not goofing up anyone else in the future that may find this answer useful. So I was overthinking things a bit. I still don't know that this is ...


2

The fact that it is possible to set them incorrectly is why, in some projects where I'm concerned about this, I'll add a small series resistance to an inbound signal. Should the pin become OUTPUT and driven in an opposing direction to the signal, the resistance serves to prevent a short through both devices. The possibility is always there, whether you ...


2

There are some hardware-specific abstractions (they mostly define the maximum memory available), but otherwise these are functions are implemented by the C/C++ runtime (on arduinos an implementation called "NewLib") and usually "just work". You might want to take a look at this question, where quite a bit of background is given on the SAM ...


Top 50 recent answers are included