Using Probe 0 (for beginners)

Modified on Wed, 4 Jan, 2023 at 7:24 PM

Probe 0 is placed by default at the beginning of the HC_communicate() function. Its location can’t be changed. Trying to put this probe anywhere else will have no effect. This measurement should be enough for most users. However, it does not necessarily give you the minimum Free RAM value which can be reached while your program runs.


Refer to this example : Checking your Free RAM.

#include <HITIComm.h>

void setup()
{
    // initialize library
    HC_begin();
}

void loop()
{
    // measure SRAM on Probe 0
    HC_communicate();
}






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article