Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: skypickle

Search: Search took 0.00 seconds.

  1. I did some more testing. The potentiometer has an...

    I did some more testing. The potentiometer has an excursion of 300 degrees. Roughly from5 oclock turning counterclockwise to 7 oclock. The digits will appear in any text editor when the dial moves...
  2. Arduino 1.8.19 Teensyduino 1.56 The values...

    Arduino 1.8.19
    Teensyduino 1.56

    The values output on the serial monitor are the same for all axes
    when turned to the left they bounce around 0,1,2
    when turned all the way to the right...
  3. teensy analog pin sending keystrokes as well to pc

    I posted in tech support a while ago but had no replies so I am cross posting here as well

    https://forum.pjrc.com/threads/70703-teensy-axis-also-sending-numerical-digits-to-windows

    I have a...
  4. I got this to work with a teensy 4.1 ...

    I got this to work with a teensy 4.1

    https://www.adafruit.com/product/1743
  5. teensy axis also sending numerical digits to windows.

    I have a Teensy 4.1 with 5 buttons mapped and 6 axes. It also runs a small display which I can change with two buttons so I can have a readout of my controls for various aircraft. They work as...
  6. Replies
    18
    Views
    5,660

    sorry to necro this thread but I noticed the hat...

    sorry to necro this thread but I noticed the hat is showing a forward activation. Why is that? I ask because I am having the same oddity and it is causing my tactical analysis flight appplication...
  7. Teenst 4.1 continually sending hat forward button though it is not programmed

    Teensy 4.1 is being used as a joystick controller and a display.
    3 buttons and 6 axes are monitored and sent as joystick controls
    2 buttons are used to advance screen forward and backward- the...
  8. I mostly want it in case I have to upload a...

    I mostly want it in case I have to upload a sketch and sometimes the automatic uploader doesnt work.
  9. Thank you. It seems that pin is behind the SD...

    Thank you. It seems that pin is behind the SD card

    28284

    I currently have the teensy in a box on a termination block
    ...
  10. activating teensy 4.1 bootloader mode if teensy is in enclosure?

    I read this:
    https://www.pjrc.com/teensy/jump_to_bootloader.html
    But it does not seem to reference the teensy 4.1

    Is this possible?
    Is it as simple as shorting the VCC w ground for second?
  11. how to rename a teensy that controls a button box

    I have built a button box around a teensy 4.1 and using the basic example code it works! However, the USB game control panel in windows calls it Serial/Keyboard/Mouse/Joystick. Where do I tweak the...
  12. well, i am learning to read, still , it seems....

    well, i am learning to read, still , it seems. this library does not support teensy.
  13. @ KrisKasprzak thank you for picking up my...

    @ KrisKasprzak thank you for picking up my absentminded mistake. yes the variable I need to check is indeed inputBtn. The idea of blinking an LED was my solution to debugging so I could remove the...
  14. cannot blink led with button push and arduino IDE crashes with memory error

    This code correctly senses and prints the state of the button on the serial monitor:



    byte btnPins[] = {
    19,20,21,22,23
    };
    byte btnCount = 5;
    byte inputBtn = 0;
    byte buttonState = 0;
  15. Arduino IDE error on using Hieronymous Joystick library

    I have succesfully compile and run various examples on a teensy 4.1. However, I am getting an error on using this library on a teensy 4.1

    https://github.com/MHeironimus/ArduinoJoystickLibrary

    I...
  16. Replies
    7
    Views
    319

    @PaulStoffregen thank you. Is there a reference...

    @PaulStoffregen thank you. Is there a reference where I could read more about the difference between these two? Memory use? Location in memory (stack vs heap)?
  17. Replies
    6
    Views
    284

    Thank you for your reply. The buttons are wired...

    Thank you for your reply. The buttons are wired with a pull-up resistor. So the circuit looks like
    28233
    except there are no LED circuits but there are 5 buttons, each with its own resistor and...
  18. Replies
    6
    Views
    284

    Trouble detecting button presses

    I am using this code to monitor 5 pushbuttons


    int btnPins[] = {
    19,20,21,22,23
    };
    int btnCount = 5;

    void setup() {
  19. Replies
    7
    Views
    319

    btw, when declaring variables and setting pins...

    btw, when declaring variables and setting pins
    what's the difference between

    #define potPin1 A10

    and

    char potPin1 = A10;

    Do I need both?
  20. Replies
    7
    Views
    319

    I'm using a teensy 4.1 I also noticed two...

    I'm using a teensy 4.1

    I also noticed two different labels for the same com port to which the teensy is attached.
    A regular com13 and a 'teensy port 13'

    Bizarre.

    I reboot my pc, the...
  21. Replies
    7
    Views
    319

    cannot use analog pin >11

    this sketch fails


    char potPins[] = {
    A10,A11,A12,A13,A16,A17
    };
    int potCount = 6;
    int inputPot = 0;

    void setup() {
  22. Replies
    18
    Views
    919

    I did some research but did not find any clues. I...

    I did some research but did not find any clues. I asked on the DCS forums so we’ll see. Thank you for pointing this out, I didn’t know that about xplane
  23. Replies
    18
    Views
    919

    Dcs. My understanding is that I can expand...

    Dcs.

    My understanding is that I can expand digital io up to128 buttons but that windows has a hard limit of 8 analog inputs per usb device.
  24. Replies
    6
    Views
    452

    thank you for your reply. I never would have...

    thank you for your reply. I never would have discovered the midi angle on my own.

    mmjoy2
    https://github.com/MMjoy/mmjoy_en/wiki
    freejoy
    https://github.com/FreeJoy-Team/FreeJoyWiki

    These work...
  25. Replies
    6
    Views
    452

    Even if I wrote my own arduino code, I dont know...

    Even if I wrote my own arduino code, I dont know any way to monitor more than 8 analog inputs with a single microcontroller. I suppose I could use an analog to digital converter and pass its output...
  26. Replies
    6
    Views
    452

    monitoring 16 analog inputs

    I need to monitor 16 potentiometers and present that data to a windows pc. Windows can receive analog data and interprets that as an 'axis of a game controller'.

    Can I flash a teensy 4.1 with...
  27. thank you as well Paul. Your work in this arena...

    thank you as well Paul. Your work in this arena is helpful. BTW, can a teensy also communicate with an lcd/epaper screen? it would be nice to have labels for the dials for each vehicle I simulate.
  28. yeah. micro center - the new radio shack. I have...

    yeah. micro center - the new radio shack. I have to be careful in there. might walk out with a new cpu or something.
  29. thank you. Im in Leominster. Ill prob go to the...

    thank you. Im in Leominster. Ill prob go to the mitflea when they have their first one after a long hiatus in a few weeks. To pick up some pots and encoders. So glad it came back.
  30. So the teensy Lc has 18 interrupts and the 4.1...

    So the teensy Lc has 18 interrupts and the 4.1 has 55.
    So if I understand correctly, the lc could support 12 encoders with a single interrupt pin for each and the teensy 4.1 could support 2...
  31. can a teensy lc support 6 potentiometers AND 6 encoders and a display?

    as you can tell from my question, i am very new to this.
    I am designing a box that willl have 12 dials for a flight sim.
    I would also like a screen with labels for the dials
    (different vehicles...
  32. Replies
    18
    Views
    919

    thank you luni for your fast reply. from your...

    thank you luni for your fast reply. from your answer i surmise that a multiplexer allows more than 8 analog inputs to a teensy. but i am having a hard time understanding how that might work in...
  33. Replies
    18
    Views
    919

    @ everyone who answered already thank you...

    @ everyone who answered already
    thank you educating me. I used the word 'axes' because that's how analog inputs are represented in windows , as an 'axis'. Also that's how DCS (a flight sim) labels...
  34. Replies
    18
    Views
    919

    WOW! I just fell into a labyrinth. thank you....

    WOW!
    I just fell into a labyrinth. thank you. After i get my bearings, i might be able to ask an intelligent question. Some drawings however are opaque...
  35. Replies
    18
    Views
    919

    what does this mean? I will have 12 dials (either...

    what does this mean? I will have 12 dials (either pots or encoders).
  36. Replies
    18
    Views
    919

    What more can I say. I want a box with 12 dials...

    What more can I say. I want a box with 12 dials on it that are recognized as 12 axes in windows.
  37. Replies
    18
    Views
    919

    which teensy for 12 axes?

    I need a controller for the lights and dials in my aircraft sim. Is it possible/recommended to use a single teensy for this? or do I have to build two boxes? Which teensy?
Results 1 to 37 of 37