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);
...
Type: Posts; User: Nick1802
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);
...
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
...
no im not using tabs at the moment.
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...
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
...
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...
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...
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...
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...
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...
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...
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...
when ur adding the teensy on jinx's ad/edit device, what device type are u useing? tpm2?
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...
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...
sweet thanks for the quick reply Paul :)
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...
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...
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...
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.
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...
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)...
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...
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...
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...
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
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...
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!!! :( :(
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...
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.
...
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>...
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)){...
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...
hey all,
got buttons done with help from Nantonos
#include <Bounce.h>
const byte sensor0 = 14;
const byte sensor1 = 15;
const byte transmitA = 2;
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
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 ...
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>
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...
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...
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
ok so i have sorta worked out the usb midi for the buttons.
#include <Encoder.h>
#include <Bounce.h>
const byte sensor0 = 14;
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);
//...
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...
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>
...
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...
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...
thanks pensive, but nothing about the teensy is beneath me, we are always learning!
but i do not no what blockwriting is :S
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...
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...
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.
...