I don't know about elegant but you can reduce the number of times a value is displayed:
void loop()
{
static unsigned previousCount = 0;
if (CycleCount != previousCount)
{
Serial.println(CycleCount);
previousCount = CycleCount;
}
I don't know about elegant but you can reduce the number of times a value is displayed:
void loop()
{
static unsigned previousCount = 0;
if (CycleCount != previousCount)
{
Serial.println(CycleCount);
previousCount = CycleCount;
}