I know, I guess you're a programmer since there was no arduino or teensy out there and learned C for other purposes. I'm programming since two years and only for my pedal project, so I've got huge gaps in my C knowledge...
SOLVED! Found a way to trim the SD output: the string.trim() function.
It's a matter of one line of code and a variable more:
int a = 0;
while(myFile.available()){
buffer =...
Update: I've added a StringLenght show line to the code and here lies the root of all evil: the teensy counts one character more at the words that came from the SD card, even though the serial monitor spits them out...
Hey defragster, I've tried the if (0 == strcmp( buttonName, " " ) thing, but it doesn't compile with it, because this method is used for char only. Also the C String link you shared doesn't handle about the "String"...
Wow, you are fast! But as usual, I don't understand the answer. ;-) what means null terminated?
Do you mean that my method (I just used a method for integers and it worked) does not say "end of transmition" for every...
Hi, I'm a bit clueless at how the problem I have occurs. I'll tell something about the idea and then I'll come to the problem:
I'm building a midi footcontroller with a big display full of information. To be able to...
Hi, I'm using a teensy 3.5 to build an advanced midi controller using the nextion display. For this display a usb to ttl converter is needed to upload code to it, cause it has it's own microcontroller build in. That's...