osudrl / telejoy Goto Github PK
View Code? Open in Web Editor NEWTelemetry Joystick
Telemetry Joystick
Hi, i've this error when compiling:
"C:\WinUtil\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL_HID -DLAYOUT_US_ENGLISH "-IC:\Users\Marco\AppData\Local\Temp\arduino_build_452344/pch" "-IC:\WinUtil\Arduino\hardware\teensy\avr\cores\teensy3" "C:\Users\Marco\AppData\Local\Temp\arduino_build_452344\sketch\joy.ino.cpp" -o "C:\Users\Marco\AppData\Local\Temp\arduino_build_452344\sketch\joy.ino.cpp.o"
joy: In function 'void sport_loop()':
joy:305: warning: comparison between signed and unsigned integer expressions
if(millis()/10000 > tele_count)
^
joy: In function 'void sendJoyOutput()':
joy:382: error: no matching function for call to 'usb_joystick_class::slider(int, uint32_t)'
Joystick.slider(i+1,millis());
^
In file included from C:\WinUtil\Arduino\hardware\teensy\avr\cores\teensy3/WProgram.h:60:0,
from C:\Users\Marco\AppData\Local\Temp\arduino_build_452344\pch\Arduino.h:6:
C:\WinUtil\Arduino\hardware\teensy\avr\cores\teensy3/usb_joystick.h:102:7: note: candidate: void usb_joystick_class::slider(unsigned int)
void slider(unsigned int val) {
^
C:\WinUtil\Arduino\hardware\teensy\avr\cores\teensy3/usb_joystick.h:102:7: note: candidate expects 1 argument, 2 provided
joy:386: error: 'class usb_joystick_class' has no member named 'Xrotate'
Joystick.Xrotate(mapAnalog(c->analog[3]));
^
joy:387: error: 'class usb_joystick_class' has no member named 'Yrotate'
Joystick.Yrotate(mapAnalog(c->analog[4]));
^
joy:393: error: no matching function for call to 'usb_joystick_class::slider(int, int)'
Joystick.slider(i+1, mapAnalog(c->analog[i+6]));
^
In file included from C:\WinUtil\Arduino\hardware\teensy\avr\cores\teensy3/WProgram.h:60:0,
from C:\Users\Marco\AppData\Local\Temp\arduino_build_452344\pch\Arduino.h:6:
C:\WinUtil\Arduino\hardware\teensy\avr\cores\teensy3/usb_joystick.h:102:7: note: candidate: void usb_joystick_class::slider(unsigned int)
void slider(unsigned int val) {
^
C:\WinUtil\Arduino\hardware\teensy\avr\cores\teensy3/usb_joystick.h:102:7: note: candidate expects 1 argument, 2 provided
no matching function for call to 'usb_joystick_class::slider(int, uint32_t)'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.