robotmaker / Arduino_SBUS

This Arduino sketch expands the SBUS using an Arduino such as a small Ardiono Nano or ProMicro making the full 16 channels available on your FrSky compatile RC receiver (such as the XR8 or XR4) which would otherwise be limited to just a few PWM ports. This sketch gives additional possibilities with your RC projects such as proportional or pre-set control of servos, switching on landing lights, ativiating buzzers, launching parachutes, reading sensors on your RC model as remote telemetry data, etc. How it works? The arduino sketch merely "sniffs" the SBUS data arriving on the serial port and split the package into 16 channels. You are then able to configure and map the Arduino pins to any available RC channel as you like. It's only limited to the number of channels and the number of free I/O ports on your Ardiuno. The Arduino can be added 'in-line' with any other SBUS device on your RC model. Please note that only limited testing has been done on using various RC cars and drones. so don't use this device for any critical or non-critical control of your model without thorough testing. You use the solution and code at your own risk.
http://www.robotmaker.eu/ROBOTmaker/quadcopter-3d-proximity-sensing
GNU General Public License v3.0
25 stars 4 forks source link

'serialPrint' was not declared in this scope #1

Open Omikael69 opened 3 years ago

Omikael69 commented 3 years ago

Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), Kort:"Arduino Uno"

C:\Users\mikae\OneDrive\Dokument\Arduino\libraries\Arduino_SBUS-master\SBUS_ROBOTMaker_20161228_v1a\SBUS_ROBOTMaker_20161228_v1a.ino: In function 'void loop()':

SBUS_ROBOTMaker_20161228_v1a:182:13: error: 'serialPrint' was not declared in this scope

         serialPrint (channels[1]);

         ^~~~~~~~~~~

Multiple libraries were found for "Servo.h"

Använd: C:\Users\mikae\OneDrive\Dokument\Arduino\libraries\Servo

Oanvänd: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\Servo

exit status 1

'serialPrint' was not declared in this scope

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

IROmyworld commented 3 years ago

Comment it out and it should work. Only useful if you are using SoftwareSerial.