Coder Social home page Coder Social logo

telejoy's People

Contributors

kkevlar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kkevlar mcx

telejoy's Issues

Compilation error

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)'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.