Problems programming Pro Micro

I’m trying to program a sparkfun pro micro (https://www.sparkfun.com/products/12640) with the kegboard firmware, and the issue I’ve hit is I’m getting a
’Serial’ was not declared in this scope’
inside of ds1820.cpp in DS1820Sensor::PrintTemp
on Serial.print(temp)

It compiles fine under other board types, just not under any of the pro micro types (including leonardo). Can someone point me in the right direction? I’m planning on running two taps and 1 onewire temp sensor off the board.

Thanks!

I found the problem. In case anyone runs into it, the sparkfun pro micro the Serial class is used for USB, where the Serial1 class is used for serial on the actual ports. Changing this to serial1 was the fix.

2 Likes