Author Topic: weathershield R2 sketch  (Read 912 times)

loseymark

  • Jr. Member
  • **
  • Posts: 60
  • Country: us
weathershield R2 sketch
« on: August 22, 2019, 06:16:26 PM »
Just put together a R2 weather node and had a compile problem.

The following line was missing from the R2 sketch in github. I was able to find reference to it in forum posts. Adding this line solved my problem.

#define SS_FLASHMEM 8

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: weathershield R2 sketch
« Reply #1 on: August 23, 2019, 10:10:38 AM »
That line is not really missing, SS_FLASHMEM is defined in the Moteino board definitions (pins_arduino.h).
So as long as you have Moteino as target you don't have to include those definitions.