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

Search:

Type: Posts; User: Nick1802

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,432

    help with atoi code

    hey all,

    im having a lil issue with this code im using.



    int posmin = readString.indexOf("min=");
    if (posmin > 0) {
    readString.substring(posmin + 4).toCharArray(bufmin, 3);
    ...
  2. Replies
    2
    Views
    801

    reading variable in web server get reply

    Hey Everyone,
    need some guidance in how to read and use a part of the get reply.

    im using a text box that i will be typing in a number between 0-255

    line 164-166

    ...
  3. Thread: Help with 595

    by Nick1802
    Replies
    5
    Views
    917

    no im not using tabs at the moment.

    no im not using tabs at the moment.
  4. Thread: Help with 595

    by Nick1802
    Replies
    5
    Views
    917

    thank you GremlinWrangler for you help!!! works...

    thank you GremlinWrangler for you help!!! works like a dream now :)

    /* 485 serial1 pins 0&1 transmitter enable as pin 14
    network pins 9-13
    garage buttons 21-23
    dmx pin 20
    power...
  5. Thread: Help with 595

    by Nick1802
    Replies
    5
    Views
    917

    the code i have at the moment is. will try...

    the code i have at the moment is. will try GremlinWrangler help this afternoon when i have the project with me.



    /* 485 serial1 pins 0&1 transmitter enable as pin 14
    network pins 9-13
    ...
  6. Thread: Help with 595

    by Nick1802
    Replies
    5
    Views
    917

    Help with 595

    Hey everyone,
    I'm trying to setup a power board that has switched outlets controlled via relays over the network.

    So far I have got the web server working but can't workout how to control the...
  7. Replies
    2
    Views
    654

    wiz820io and 595 sharing spi

    hey anyone that can help :)

    im wanting to use the wiz820io and 595 but im unsure how to use both at the same time.

    do i just pull cs to the wiz high and the 595 low when ever its time to...
  8. Replies
    50
    Views
    20,353

    i had asked the above question in a new thread...

    i had asked the above question in a new thread https://forum.pjrc.com/threads/29079-need-help-with-midi-and-memory

    the problem buffer problem i had has now been solved. thank you Paul and thank...
  9. Replies
    3
    Views
    1,610

    thanks heaps Paul!!!! adding the usbMIDI.read...

    thanks heaps Paul!!!!

    adding the usbMIDI.read extra 3 times almost cleared the buffer completely so added extra 2 reads just to be sure the the buffer is cleared

    again thanks heaps Paul!! and...
  10. Replies
    3
    Views
    1,610

    need help with midi and memory

    hey teensy community!!

    need some help on this problem im having.

    when teensy is sending midi and the program can see all the midi messages. and visa versa where the program is sending midi the...
  11. Replies
    50
    Views
    20,353

    hey all!! have no idea if any1 is reading...

    hey all!!

    have no idea if any1 is reading theses any more.

    but anyway. everything is working.... almost!

    1st prob: when teensy is sending midi and the program its talking too isnt sending...
  12. Replies
    47
    Views
    8,234

    i dont no what code u are using but a look gave...

    i dont no what code u are using but a look gave me this link
    https://forum.pjrc.com/threads/27082-Teensy-3-1-with-Glediator-and-Jinx-over-USB
    hope this thread helps but im out of quick help with it...
  13. Replies
    47
    Views
    8,234

    when ur adding the teensy on jinx's ad/edit...

    when ur adding the teensy on jinx's ad/edit device, what device type are u useing? tpm2?
  14. Replies
    47
    Views
    8,234

    i have never used glediator b4 so i cant help...

    i have never used glediator b4 so i cant help with that part.

    what way are u talking to the teensy? via usb or network? i have only done this via network using artnet from jinx havent used any...
  15. Replies
    47
    Views
    8,234

    hey razataz327. with jinx just wanted to check...

    hey razataz327.
    with jinx just wanted to check that u have patched the teensy in the output patch and output devices and then clicked on start output??
    i havent had a problem using jinx as long as...
  16. Replies
    2
    Views
    987

    sweet thanks for the quick reply Paul :)

    sweet thanks for the quick reply Paul :)
  17. Replies
    2
    Views
    987

    is the led pin 13 5v tolerant?

    hey all just wanted to check before i put 5 volts on it.
    i no that it says all digital pins are 5 volt tolerant but wanted to check that the led on the teensy 3.1 could handle it?
    or wont it light...
  18. Replies
    50
    Views
    20,353

    hey every one, i have worked out that sending...

    hey every one,

    i have worked out that sending midi SysEx wasnt the way to go but the way i had started to go with sending midi notes.
    as far as i have tested it is all working!!! yay. now to work...
  19. Replies
    50
    Views
    20,353

    hey all, back working on this project again now....

    hey all, back working on this project again now. :) yay finely!!!
    been so long sence doing any coding i had to strip the code all the way back to just buttons and add bit by bit again just to...
  20. Replies
    50
    Views
    20,353

    So if any1 see this post and thinks here's...

    So if any1 see this post and thinks here's another post with out a complete code done. I have put it on the back burner until I have time to work on this project again.
  21. Replies
    0
    Views
    1,625

    artnet to dmx output

    hey all,
    while im on a stand still with my last project (misses wont let me spend anymore money for now on it). i have decided i would try to make a artnet to dmx node as well, at lest the code...
  22. Replies
    50
    Views
    20,353

    never mind with the last comment. for some reason...

    never mind with the last comment. for some reason the faders wont move without the pwm being at 4096.any less it just wont work. no idea why :(
    i tried
    (0,2048,0)
    (0,2048,2048)
    (0,4095,0)...
  23. Replies
    50
    Views
    20,353

    thanks Paul. thats good to no :) i have been...

    thanks Paul. thats good to no :)

    i have been sraching my head trying to work this out.
    what im trying to do at the moment is to do with the motors on the faders
    at the moment faders move at full...
  24. Replies
    50
    Views
    20,353

    dont no if any1 is reading this or not but can...

    dont no if any1 is reading this or not but can anyone read over this code. i had most of it working but then i hit the problem of not having enough power to power the chips. so waiting for a new...
  25. Replies
    50
    Views
    20,353

    hey all, im having problems with midi in as it...

    hey all,

    im having problems with midi in as it needs to read system exclusive midi. i have been trying to get it to print out the data it gets with no luck.
    i am trying to get it to print out the...
  26. Replies
    9
    Views
    5,142

    i had this prob but worked out that its couse...

    i had this prob but worked out that its couse there is another program that is using it as u can only have 1 program reading a midi devise at a time
  27. Replies
    50
    Views
    20,353

    hey everyone, update on progress of how this is...

    hey everyone, update on progress of how this is going.

    i fixed the last issue i was having with the code getting stuck in a loop that wasn't updating witch was y the motor never stopped.

    and i...
  28. Replies
    7
    Views
    2,598

    i think i may have busted the pca chip when...

    i think i may have busted the pca chip when soldering it on to a brake out board :(
    as even the scaner isnt picking up anything!!! :( :(
  29. Replies
    7
    Views
    2,598

    thanks for the fast reply, ok so every thing i...

    thanks for the fast reply,

    ok so every thing i have wired is right. (expect for the wrong size pull-up's).

    when i get the 4.7k pull ups i will post back if it works or not. but i think it is...
  30. Replies
    7
    Views
    2,598

    Thanks headroom, But I belive I need the PWM...

    Thanks headroom,

    But I belive I need the PWM to be able to get over 20 kHz as to not make the motorzed fadera buzz.
    This option only goes to 1.6 kHz.
    But the lib should come in handy I hope.
    ...
  31. Replies
    7
    Views
    2,598

    clueless about i2c

    hey all im so clueless about how to write for a i2c device.

    this is what i have managed to work out from the data sheet
    im using a pca9635 to get 16 move PWM pins



    //#include <i2c_t3.h>...
  32. Replies
    50
    Views
    20,353

    hey all, i added some lines of code that sorta...

    hey all,
    i added some lines of code that sorta fixed the problem i am having with the encoder to midi


    void loop(){
    long newEnc0;
    newEnc0= myEnc0.read();
    if((newEnc0/4) > (old0Enc0/4)){...
  33. Replies
    50
    Views
    20,353

    s now i am working on the encoders. I have it...

    s now i am working on the encoders. I have it working and out putting to midi but im having trouble with it going back and forth when only turning it 1 way.



    #include <Encoder.h>

    Encoder...
  34. Replies
    50
    Views
    20,353

    hey all, got buttons done with help from...

    hey all,
    got buttons done with help from Nantonos



    #include <Bounce.h>

    const byte sensor0 = 14;
    const byte sensor1 = 15;
    const byte transmitA = 2;
  35. Replies
    7
    Views
    2,642

    never mind found the problem!! i had a } not in...

    never mind found the problem!! i had a } not in the right spot!! had it at the end when it should have been b4 the midi messages
  36. Replies
    7
    Views
    2,642

    now i have condensed it a bit. i thought i was...

    now i have condensed it a bit. i thought i was doing it right but in my MIDI window its showing the note on and note off when they should but 64 times.
    i changed for
    (i=0;i<=63;i++) to ...
  37. Replies
    7
    Views
    2,642

    so now i have gone all the way back to very...

    so now i have gone all the way back to very basic!!!!

    this code is only 6/128 done as i only did it up to where i had buttons contected

    and it works



    #include <Bounce.h>
  38. Replies
    7
    Views
    2,642

    yes, then have it send midi note on/off ok...

    yes, then have it send midi note on/off



    ok so this code i have here is just the button matrix with only serial print and its working fine ever sense i got it to work as digital buttons instead...
  39. Replies
    7
    Views
    2,642

    thanks nantonos, when a button is pushed v...

    thanks nantonos,
    when a button is pushed v prints out the number of the button that is being pushed. so with this i was hoping that where it is would say the button number and the program would...
  40. Replies
    7
    Views
    2,642

    matrix of buttons to USBMIDI help

    hey everyone,

    i have been stuck on this for around a week now!!
    im having a issue trying to send midi over usb

    the code i am using is this
  41. Replies
    50
    Views
    20,353

    ok so i have sorta worked out the usb midi for...

    ok so i have sorta worked out the usb midi for the buttons.





    #include <Encoder.h>
    #include <Bounce.h>

    const byte sensor0 = 14;
  42. Replies
    50
    Views
    20,353

    the only way i can think of getting it to work is...

    the only way i can think of getting it to work is maybe this way

    // select 74HC4051 channel 5 (of 0 to 7)
    digitalWrite(1, HIGH);
    digitalWrite(2, LOW);
    digitalWrite(3, HIGH);

    //...
  43. Replies
    50
    Views
    20,353

    hey guys i really am stuck trying to work out how...

    hey guys i really am stuck trying to work out how to get the usbmidi to work with the matrix of buttons!!!

    can any1 point me in the right direction or do maybe button 25 with the code i posted...
  44. Replies
    50
    Views
    20,353

    hey guys! so i changed some of the code so that...

    hey guys!
    so i changed some of the code so that the buttons work as digital (finerly got it working(dont no what i was doing wrong)) and the faders still work at analog.


    #include <Encoder.h>
    ...
  45. Replies
    50
    Views
    20,353

    so untill now i hadn't connected anything to A7...

    so untill now i hadn't connected anything to A7 on the 4051's and for some reason that i cant see in the code when im using the serial print in the loop not in the setup of the code posted earlyer...
  46. Replies
    50
    Views
    20,353

    d'oh!!!! i knew i forgot something else from the...

    d'oh!!!! i knew i forgot something else from the schematic. i have 10k resisters (resistor)--(button)--(button)--(button)--(4051)--(teensy)

    i never even thought of putting it between the teensy...
  47. Replies
    50
    Views
    20,353

    thanks pensive, but nothing about the teensy is...

    thanks pensive, but nothing about the teensy is beneath me, we are always learning!
    but i do not no what blockwriting is :S
  48. Replies
    50
    Views
    20,353

    hey is anyone reading anything i post??? i...

    hey is anyone reading anything i post???

    i have a strange problem with my teensy!!
    at the moment im working on getting a matrix of 8*16 to work and this code i have just got working
    but when i...
  49. hey garthtaylor, im working on a project that is...

    hey garthtaylor, im working on a project that is going to use around 8 of the 4051s

    im still in the testing stage so im only using 3 at the moment.

    im not very good at reading the code so this...
  50. Replies
    50
    Views
    20,353

    hey all, still cant workout the touchRead() :( ...

    hey all,
    still cant workout the touchRead() :( every thing that i can find require 2 pins or have the person be grounded somehow and both i don't see working with the project that im working on.
    ...
Results 1 to 50 of 83
Page 1 of 2 1 2