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

Search:

Type: Posts; User: Digipenguin

Search: Search took 0.00 seconds.

  1. Edit for above post. The Ben Buxtronics...

    Edit for above post.

    The Ben Buxtronics Website link above should be: http://www.buxtronix.net/2011/10/rotary-encoders-done-properly.html
  2. Update: I am about 90% there I think, All the...

    Update: I am about 90% there I think,

    All the inputs are recognized in Devices--> Game Controller--> Properties however their behavior is unexpected.

    All buttons work as expected, so that is...
  3. Second question: In the above example for...

    Second question:

    In the above example for telling the Teensy to read the anaolg input, Do I use 26 or A12 in the parentheses for identifying which pin to read?

    For example:

    val =...
  4. Doh, I forgot to add the analog input. I have...

    Doh, I forgot to add the analog input.

    I have a question.

    I will be putting the Teensy into a Serial/Keyboard,Mouse/Joystick mode.

    Do I have to include any other libraries to use:

    int...
  5. So change of plan. I changed the encoder...

    So change of plan.

    I changed the encoder library from encoder.h to Rotary.h and added debounced the button inputs.

    This is what I have so far. Havent loaded it yet, Probably wont get a chance...
  6. So it still needs some work but this is what I...

    So it still needs some work but this is what I have now:

    #include*<Encoder.h>

    Encoder knobLeft(8, 9); // Declare pins we will use for encoders
    Encoder knobRight(11, 12);


    void setup()...
  7. Ah. Good to know. I don't foresee using a speaker...

    Ah. Good to know. I don't foresee using a speaker on this as it is steering wheel for controlling an online racing Simulator called iRacing.
  8. Thanks, Michael. I believe those pins are...

    Thanks, Michael.

    I believe those pins are unpopulated as well. Is it simpler to use a dedicated analog input pin?

    I was planning on using pin 26(A12) because it is right next to the power and...
  9. Bummer

    So I downloaded Teensyduino and Teensy Loader and got them installed but......Oh, no. It turns out the source code cannot be read once loaded onto the Teensy. I did not know that.

    So change of...
  10. So, Learning alot about Teensy. I know I can...

    So, Learning alot about Teensy.

    I know I can leave out some stuff from the above sample sketch.

    It should look more like this:



    int clutch;
  11. Direction Needed - Add analog input to existing Teensy LC Game Controller

    Hi,

    I'm hoping you people can help me.

    I have an Off-the-shelf USB game controller which uses a Teensy-LC.

    My PC is Windows 10.

    It is currently is set up using 16 inputs (10 buttons and...
Results 1 to 11 of 11