Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Reply To: Using Xbee Cellular Modem with ThingSpeak

Home Forums Mayfly Data Logger Using Xbee Cellular Modem with ThingSpeak Reply To: Using Xbee Cellular Modem with ThingSpeak

#15740
neilh20
Participant

    I’ll have to get about streamdebugger as heading out the office, back in 2hrs

    For debug you should see the following in platformIO.ini – add it to the end. It will force a complete recompile

    <!–more–>
    [env:mayfly]
    monitor_speed = 115200
    board = mayfly
    platform = atmelavr
    framework = arduino
    lib_ldf_mode = deep+
    lib_ignore =
    RTCZero

    build_flags =
    -DSDI12_EXTERNAL_PCINT
    -DNEOSWSERIAL_EXTERNAL_PCINT
    -DMQTT_MAX_PACKET_SIZE=240
    -DTINY_GSM_RX_BUFFER=64
    -DTINY_GSM_YIELD_MS=2
    -DMS_DATAPUBLISHERBASE_DEBUG
    -DMS_THINGSPEAKPUBLISHER_DEBUG