BrushlessPower / SBUS2-Telemetry

Arduino Library for SBUS and SBUS2 with Futaba Telemetry
GNU General Public License v3.0
85 stars 23 forks source link

Examples don't actually compile for ESP-32: #45

Closed ericlangel closed 2 years ago

ericlangel commented 2 years ago

Examples don't actually compile for ESP-32:

In function 'void setup()': SBUS:16:20: error: too many arguments to function 'void SBUS2_Setup()'

SBUS2_Setup(25,26); // For ESP32 set RX and TX Pin Number <<--- this doesn't work

Originally posted by @Nellophonic in https://github.com/BrushlessPower/SBUS2-Telemetry/issues/44#issuecomment-1065822883

ericlangel commented 2 years ago

I moved this Post to a seperate Issue, because it's not related to ESP32-C3 or S2

For me the Example works. Did you used the actual Master-Branch Sources? The last Version available in the Arduino Library Manager will not work with the actual Examples

ericlangel commented 2 years ago

@Nellophonic is it solved?

Nellophonic commented 2 years ago

Looks like the version I had was 1.2.0 which came from the Arduino Library Manager and the examples in that package don't work. Pulling from Master seems fine. Thanks.

ericlangel commented 2 years ago

hm, the examples of Version 1.2 in the releases are correct.

no idea what happend there.

Just for you to notice: The actual master Branch is a pre Release, so there could be some (unknown) Issues