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

Search:

Type: Posts; User: garthtaylor

Search: Search took 0.00 seconds.

  1. Thank you for that.. Ive done the code as you...

    Thank you for that..

    Ive done the code as you said and it still only reads one mux at a time :(
  2. this is so urgent cos i need to use these for...

    this is so urgent cos i need to use these for shows :(
  3. hi thanks for the reply ! :D basically the...

    hi thanks for the reply !
    :D

    basically the above code only aloows for one 4051 to be read at a time depending on which pin i select

    eg:

    if i have this : int analogPin = 18; (i can read...
  4. How to create array for four 4051s on teensy2 analog pins

    Hello..

    I need desperate help with my controllers

    2637

    i am using 4 4051s on teensy2 pins A0,A1,A2,A3

    how do i code an array to loop through all analog inputs ?
  5. Thanks Doc.. I have checked everything and its...

    Thanks Doc..

    I have checked everything and its fine.

    Now i guess I need help with the code:/
  6. My code behaving weirdly for 22 x pots with 3 x 4051 Mux's - Teensy2

    Hi,

    So i am still trying to sort out my multiplexing code for analog inputs using arrays.

    Thanks VERY much to Lukas from www.lbsfilm.at for the original code ! GENIUS :)

    My edited Code :
  7. Hi there, Great project ! Is it possible...

    Hi there,

    Great project !

    Is it possible to post the code you used to get all those analog inputs to work with the 4051s ?

    That would be hugely appreciated.

    I'm trying to get 10 sliding...
  8. Hey thank you for the reply ... Much appreciated....

    Hey thank you for the reply ... Much appreciated.

    That's the code I'm looking for. Do i use normal code for say a potentiometer, and an analog pin for this ?

    What is analog circuitry ?
  9. Sorry .. my bad ..:o Id like to use a piezo...

    Sorry .. my bad ..:o

    Id like to use a piezo (stuck to the bass drum) to send midi notes (velocity sensitive) through to Ableton Live using a digital pin on my teensy ++2

    I managed to get the...
  10. Hi there, Im trying to get a piezo code...

    Hi there,

    Im trying to get a piezo code working for triggering a kick drum for live shows.

    Any chance of helping me out ? :D
  11. Working Code for 8pins into 1 using 4051 Mux and teensy 2.0 - MIDI notes via Buttons

    Here is a code i got working thanks to PaulStoffregen and nlecaude :D

    Its basically 8 pushbuttons sending separate midi notes through a 4051 mux using pin 10 on Teensy 2.0

    U can see the...
  12. THANK YOU so much for the help .. i just pulled...

    THANK YOU so much for the help .. i just pulled an all nighter but worth it ! :D
  13. Ill reply to me :D i got the 8 inputs working...

    Ill reply to me :D

    i got the 8 inputs working eventually !


    All i cant figure out is the correct 4051 "Channel" order to have all the buttons in proper note order eg button 1 = 60 button 2 =...
  14. YAY !!! Got it all working now .. Just one...

    YAY !!! Got it all working now ..

    Just one more problem im afraid ..

    i Cant get the buttons to work on pins 1,2,4 and 5 on the 4051 ??
  15. now i'm confuddled How do i do that ? sorry...

    now i'm confuddled

    How do i do that ? sorry to be a pain ;(

    EDIT Never mind i was being an idiot and NOT reading what you wrote above.. apologies *smacks forehead*
  16. thank u :D That now works .. this is my...

    thank u :D

    That now works ..

    this is my code now ..




    int ax = 1; //address pins
  17. Ok :) I figured it out .. this is my new code....

    Ok :)

    I figured it out .. this is my new code.





    int ax = 1; //address pins
    int bx = 2; //address pins
  18. Thank you for the fast reply .. u seem to be the...

    Thank you for the fast reply .. u seem to be the brains on this forum :D

    I put the "delayMicroseconds etc" in

    the next bit of code i tried to put in and the teesny loader gave me a"b2_prev" not...
  19. Can someone please help me! :D Firstly i...

    Can someone please help me! :D

    Firstly i apologise if i'm posting in the wrong thread but i'm pretty desperate at this point :((

    I cannot find any code online for using buttons sending midi...
  20. Replies
    24
    Views
    8,494

    I've had the same issues of pots sending...

    I've had the same issues of pots sending information without being touched so i changed the "THRESHOLD" in the coding and it was all sorted. IF you need that code just holler. (FYI it wasn't with a...
  21. Using a 4051 with teensy2 for midi controllers.

    Hi all,

    I am very new to the world of coding but have successfully adapted code to make a running midi controller with 16 arcade buttons and 4 pots using a teensy2.

    Now want to make more slave...
Results 1 to 21 of 22