Trying to printf with %e and %f, looks like it's not included in the compiler options for the LC. Anyone know the flag to add it? Can't seem to find it in all my searching.
I realize I may have to...
Type: Posts; User: capricorn one
Trying to printf with %e and %f, looks like it's not included in the compiler options for the LC. Anyone know the flag to add it? Can't seem to find it in all my searching.
I realize I may have to...
Should include some more info I realized, I'm using the standard <SD.h> library with Teensyduino 1.45, Arduino 1.8.8.
I've read that the <SD.h> library doesn't work with SPI1, although that may be...
I've found a few posts that point to similar issues, but they look like they were addressed years ago and fixed.
The problem I'm having is trying to re-assign the SCK0 pin to 14 (default is 13)....
This is the fix for now!! My IDE wasn't showing me the right compiler definitions, so didn't think that was even active, but sure enough it was. So, something wrong with the way SPIFIFO works, don't...
Help!
Having a very similar problem to OP. Just updated some hardware that I've been using for a few years now, has worked fine for a long time, but after uploading my small changes to the code,...
You can definitely read the expression pedal into the Teensy using the Analog In and and Analog GND connections. The TRS connection should probably be S - Sleeve = AGND, T - Tip = Signal (send to...
Hi All,
Just posted a write up on Instructables of some of the lighting installations I've built over the last couple years. Not lying, was trying to enter it into a contest there to win a laser...
Ahh, good to know. Was wondering about this myself, maybe the github info page could be updated with this information for other people? Had to do some googling to find this out, luckily it just...
Hey all,
In just a couple months I'll be sending up about 10 teensy boards on a weather balloon and wanted to let the community know, in case maybe there is a particular kind of data that may be...
Paul, sorry if this is the wrong place to post this, I tried submitting a request to the github issues thread, but I obviously did it wrong. Anyways, if you have time, please see the end of this...
Wow, thanks for finding that Paul!
Going to have to make some changes to my design in that case, 8 bits definitely won't do. Should have known that was too good to be true, thanks for doing the...
Hmm... good point about the clock, I'm basing it off of what the webpage says here for the Diablo processor which drives some of the 4D systems displays. See here :
...
Yeah, I agree, that would be more efficient and elegant and somewhat lossless, but it's not supported in the Audio library as far as I know? Unless someone has already written an object to handle...
Curious if anyone has a working solution for this:
I have a 16-bit PWM audio source coming from a display unit (unfilitered) and I want to plug it into the ADC input of the teensy using the...
Awesome, thanks Paul!
After some digging and rethinking, I realized I really need the Rx as well. Was about to look for some kind of SPI->UART converter chip, which I wanted to avoid, when I...
Wondering if it's possible to use only the Rx or Tx pin of the Serial port ( specifically on pin 8, Serial3, of Teensy 3.1/3.2 ). I'm using the Audio adapter board which remaps the SPI mosi pin to...
I really just want to not say anything, because I feel like it's best to just follow that advice, but for my own sanity, can you clear this up for me?
That's what I was implying earlier where...
@adrian okay now you've got me wondering if that's the wrong way to use AREF. I mean it definitely works either way in this case, but I'm thinking the reason the 470 ohm resistor there is so that you...
@adrian I believe AREF is better, check out the schematic, it's coming after the 470ohm/.1uF low pass filter, so keep in mind there will be some voltage divider effects if you load it with too small...
Hmmm.. actually, I took another look and there's quite a few problems here. I would really recommend using the much simpler SPI and SD libraries. They will simplify your code greatly. But a couple...
Couple suggestions, you can use a 3.3V output for the top of the pot if that's easier, but see that small via labeled AREF in the top left? That's where you want the high side of your pots connected....
Haven't gone through all your code yet, but I would suggest using the standard SD library for now to make sure all your hardware connections are correct. The only thing that stands out to me in your...
I'm thinking you've got the right idea here.. Since they don't seem to update the library much anyway, maybe I just make a fork of what they've got for my own purposes. Just thought maybe other...
Thanks Steve, not really sure I understand what your points are though? I get that not all boards let you choose which pin is the CS pin, but that's kind of the point, they're not all 10. And none of...
Pretty much a noob when it comes to that kind of stuff... anywhere you can point me to so I can learn the proper way? Would be much appreciated!
Anyone out there on this?
Been wanting this for a long time, curious if there's a reason why it hasn't been implemented. Same way the SD library allows you to specify the chip select pin (which can be done from and DIO pin),...
Didn't hear a response from anyone on this issue... just want to make sure it gets included in the next build if possible?
Found it!!
This is a first for me, but it's actually a problem in the core function. The first line of the sendRealTime() function reads :
uint32_t data = ( (type & 0xFF) | ((type << 8) &...
That's all I was looking for, gives me a reason to keep trying to sort out my problem, will post when I find out what I'm doing wrong in case anyone else is going down the wrong path.
Thanks...
Ah, figured it had something to do with that. Thanks Paul. Am I to assume then that the usbMIDI.sendRealTime() function works properly then? Just something wrong on my end probably?
Also, just looking more closely at the function in the core midi code it looks like it doubles up the real time message from one byte to, two duplicate bytes :
uint32_t data = ( (type & 0xFF) |...
Just curious if this is still the case with usbMIDI on the teensy. Been trying to get the teensy to act as midi master clock, but not having any luck receiving midi clock (0xF8) messages. In the core...
Oh of course, was looking in the wrong spot. Guess there's something else wrong, thanks for the help!
I'm trying to install Teensyduino 1.24 with Arduino 1.6.4 or 1.6.3, I've tried both at this point. The problem I'm running into is kind of strange, the installer runs and finishes without throwing...
Ugh...well, doing some quick research, it looks like the RX enable bit is written every time a byte is written usingC2_TX_ACTIVE below, so I would have alter the core code in this case...
#ifdef...
Wondering if anyone has done this, I saw someone got it working on the Teensy 2.0, but obviously it will be different on the 3.x.
Need to use the transmitter for Serial2 and Serial3 on Teensy 3.1,...
Ah! Okay, got it working. Kind of a funny one, well to me it is. I'm sure if I had just shared my schematic from the start, Paul or someone else would've pointed out the problem right away, oh well,...
Thanks for all the suggestions! I've got the VBAT pin connected to the 3.3V power now annnd am back wondering about the crystal :/ Before, there was no signal on the crystal pins (0 volts). Now there...
Good advice. I'm thinking that must be where my problem is. So far, everything looks right, except I did notice one thing. I didn't connect the VBAT pin to anything. I thought that since I'm not...
I just realized that maybe the crystal shouldn't be running until the teensy has been programmed with a sketch? Does the bootloader initialize the external clock circuitry, or is this done in the...
Thanks Paul, I went through that stuff after seeing the other threads, unfortunately I can't do anything to the code yet because I can't program the device. Resetting the Mini54 seems to be...
There's a few threads in the forum about this, and I've been able to pretty much narrow my problem down to the crystal, but rather than hijack an old thread I figured I'd ask a more direct question....
I knew I missed it. Thank you!!!
Title pretty much says it...
I'm laying out my own board with the MK20DX256VLH7 chip with the MINI54 bootloaded chip for a project, and I want to use the A10-A14 pins on the microcontroller....
Okay, so I've gone through this in pretty rigorous detail now, and it doesn't look like packet size, or SPI speed has anything to do with the issue. I reorganized my code to send larger packets, and...
Annnddd as I think about the previous post a little more, I think maybe I am sending too many small packets as once, have to do a lot of rewriting to check, but I think that may be the answer. Thanks...
Thanks, good to know for the future!
So I was digging through the W5100 and Socket files in the Ethernet library, and I think I've found where the delay is happening. My understanding of the...
That makes total sense, I would do the same. I just wish I could change increase the max sockets number, but it doesn't compile if I do. However, it really seems like I shouldn't need to do that,...
Thanks Steve! So, I should've mentioned I guess that I'm using Teensyduino 1.20 rc6 (latest release). I tried using the supplied code from Wiznet for the W5200, but it won't compile with the...