Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

big fluctuations in the received values #10

Description

@HNeumeier

i have tried the following example
#include <sbus.h>
// used pins
#define SBUS_PIN 13 // D3
SBUS sbus;
void setup() {
Serial.begin(115200);
sbus.begin(SBUS_PIN, sbusBlocking);
}

void loop() {

if (!sbus.waitFrame()) {
Serial.println("Timeout!");
} else {
Serial.println(sbus.getChannel(3));
}
if (sbus.signalLossActive())
Serial.print("SIGNAL_LOSS ");
if (sbus.failsafeActive())
Serial.print("FAILSAFE");
}

and the values i get back looks like this, why i have such big fluctuations, i have done nothing on the sender, can you help me.

1500
1500
1500
1500
1500
1500
1500
1500
1500
1500
1500
917
1500
1500
1500
1500
1500
1500
1500
1500
917
1500
1500
1500
1500
1500
957

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions