aanon4 / FlySkyIBus

FlySky i-bus library for Arduino
https://gitlab.com/timwilkinson/FlySkyIBus
40 stars 16 forks source link

Example gives compile error #2

Open pouriap opened 6 years ago

pouriap commented 6 years ago

In the example code we have :

Serial.begin(115200);
IBus.begin(Serial1);

Which gives a compile error because Serial1 is not defined. I'm pretty sure it must be Serial instead. I changed it to Serial and it worked as expected.

Thank you for your amazing code.

ReKoR66 commented 6 years ago

I can confirm that. Works like a charm after editing the code line