Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7552
    jeremy.hise
    Participant

    Hi,

    I’m having a bit of a problem writing to Serial after I wake from sleep. If I don’t sleep, everything is fine. But if I put the mini 3.3hz to sleep, I get junk output using Serial.write().

    `#include “LowPower.h”
    #include <Wire.h>

    #define max_count 1

    void setup()
    {
    Serial.begin(9600);
    }

    int csc = 0;

    void loop()
    {

    if(csc < max_count) {
    csc++;
    LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
    return;
    }
    Serial.write(“*TEST*”);

    csc = 0;

    }’

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.