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

Search:

Type: Posts; User: jim lee

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    138

    .jpg decoder code?

    I can't seem to search on .jpg or library without getting nearly everything out there. Those terms are too common.

    So I ask you humans..

    Decoding .jpg and other common image files. What are the...
  2. Replies
    12
    Views
    319

    I have a brand new mac. There's over 50 of the...

    I have a brand new mac. There's over 50 of the buggers in there. Bunch of Feathers too. Its only seen maybe one teensy and one feather. I blame the Arduino IDE. Not that I have any data about it, I...
  3. Thread: String issue..

    by jim lee
    Replies
    12
    Views
    291

    The routine in question strips out un-dialable...

    The routine in question strips out un-dialable characters from a phone number string. So the resulting string is always shorter than the inputted one. All the strings either come from the user input...
  4. Thread: String issue..

    by jim lee
    Replies
    12
    Views
    291

    The bug it long dead. I just added a dynamic...

    The bug it long dead. I just added a dynamic buffer to the code that was calling it with the quoted string. It was just a surprise to me that it was optimized into a crash. I hate it when something...
  5. Thread: String issue..

    by jim lee
    Replies
    12
    Views
    291

    Interesting. I recompiled this same program for...

    Interesting. I recompiled this same program for an Adafruit Feather and it worked fine.

    Is there some compiler option that's allowing this on a Feather and not on a Teensy3.2?

    -jim lee
  6. Thread: String issue..

    by jim lee
    Replies
    12
    Views
    291

    Bleh! What a pain. I have to add a bunch of code...

    Bleh! What a pain. I have to add a bunch of code to undo this error caused by compiler optimization.

    Thanks for the info guys!

    -jim lee
  7. Thread: String issue..

    by jim lee
    Replies
    12
    Views
    291

    In the old "c" days was it put on the stack?...

    In the old "c" days was it put on the stack? Seeing as it was defined in a function call.

    -jim lee
  8. Thread: String issue..

    by jim lee
    Replies
    12
    Views
    291

    I thought that it would only put things in read...

    I thought that it would only put things in read only memory if you did.. F("some stuff").

    I see those warnings. Thousands of them. I've been ignoring them for years. First time I've been bit by...
  9. Thread: String issue..

    by jim lee
    Replies
    12
    Views
    291

    String issue..

    Ran into an issue in my code where I (assume) I have a c string allocated on my stack but the instant I write to it everything crashes.

    Simple sketch to show this..



    int led = 13;

    void...
  10. Replies
    3,399
    Views
    366,945

    Well, I think I just ran out of RAM on my Teensy...

    Well, I think I just ran out of RAM on my Teensy 3.2. Is this new machine it ready for some monkey bashing?

    I'm working on a litlOS (Multiple sketch swapping) and building a cellphone as a demo....
  11. I think Adafruit's "Adafruit_SSD1352" is out of sync with pjrc's Adafruit_SPITFT.

    Setup a new system with new libraries & everything. These two seem to be not getting along at the moment.



    Arduino: 1.8.8 (Mac OS X), TD: 1.45, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster,...
  12. Replies
    2
    Views
    211

    Thanks for that! Its exactly the kind of thing...

    Thanks for that! Its exactly the kind of thing I've been looking for.

    So I tried the one one github https://github.com/yoonghm/MTP and it wouldn't compile. The original that was listed actually...
  13. Replies
    2
    Views
    211

    remote disk using teensy 3.2?

    I have a project I'm working on and it has a SD card in there with lots of goodies. The problem is, in order to update the files on that SD card I have to open up the case of the hardware and fish it...
  14. Replies
    29
    Views
    1,297

    Yeah, but for how long? In a past life.. I...

    Yeah, but for how long?

    In a past life.. I used to make engine controls for drag racing boats. Early on in the development process, I'd bolted a known working "Launch controller" into a test boat...
  15. Replies
    29
    Views
    1,297

    I broke two of the 3.2s by hooking power into...

    I broke two of the 3.2s by hooking power into vbus instead of the vcc in. It would work fine for awhile, leading me to think everything was ok. Then it would just die.

    -jim lee
  16. Replies
    2
    Views
    172

    Yes, I've been running my old copy, the current...

    Yes, I've been running my old copy, the current Teensy copy, and now the new version with changes. Seems to all run the same on my Teensy.

    Interesting issue on all the versions though. if you set...
  17. Replies
    2
    Views
    172

    Adafruit_VS1053_Library

    I find that there is a copy of "Adafruit_VS1053_Library" in the teensy folder hidden away in the Arduino stuff. How different is this than the original? I have to do some testing and I'd like to know...
  18. Replies
    2
    Views
    290

    One board with 25 or sliced into 25 boards? ...

    One board with 25 or sliced into 25 boards?

    -jim lee
  19. Replies
    2
    Views
    290

    Teensy 6 packs?

    I find myself running through a lot of teensy 3.2s. I now have a lot of pinout cards as well as a good stock of un-used single row header pins. I'd really like to grab a few Teensys in a pack with no...
  20. Replies
    5
    Views
    369

    So it was switching over to Serial 1 then...

    So it was switching over to Serial 1 then lowering the baud rate to 9600. Then it seems everyhting works.

    THANK YOU!!

    -jim lee
  21. Replies
    5
    Views
    369

    Serial1 ?! Well that's good to know. Thanks for...

    Serial1 ?! Well that's good to know. Thanks for that!

    We'll see if that helps.

    -jim lee
  22. Replies
    5
    Views
    369

    Well they are both set at 115200, I triple...

    Well they are both set at 115200, I triple checked the wiring and they are according to the diagrams online.

    teensy TX P1 -> Feather RX P20
    teensy RX P0 <- Feather TX P21

    Each one works as per...
  23. Replies
    5
    Views
    369

    FONA Feather to teensy 3.2?

    The plan is to drive a touchscreen with a Teensy 3.2. Then, use the same Teensy as a master to a FONA Feather. I have most of my software working on both ends. I can send and receive text messages...
  24. Replies
    242
    Views
    20,924

    I can attest that a teensy 3.2 can drive 150 NP...

    I can attest that a teensy 3.2 can drive 150 NP strip. No problem so far.

    That's what's on the front of my truck. :)

    I'll shut up now, sorry to drag this off topic.

    -jim lee
  25. Replies
    242
    Views
    20,924

    Ha ha! Sorry, late to the party. I'm fine with...

    Ha ha! Sorry, late to the party. I'm fine with the LED. The 5V thing, is it the chip on the teensy that allows this? Or is it hardware you put with the chip?

    And the big question.. Will this new...
  26. Replies
    242
    Views
    20,924

    I read through a bunch of this. I can't use all...

    I read through a bunch of this. I can't use all the things the 3.2 already has by a long shot. I do love the SPI bus, analog is good. 5V tolerant ports is really a nice feature. And the other common...
  27. Replies
    29
    Views
    1,297

    A new teensy? Small size is good. I love the...

    A new teensy? Small size is good. I love the 3.2s. I'd really love a whopping upsize in RAM though!

    Since you have one on the drawing board as it were..

    P.S. Thanks for making these things.
    ...
  28. Replies
    29
    Views
    1,297

    Thanks for the "pop it out of auto trick". I was...

    Thanks for the "pop it out of auto trick". I was in the same boat this AM and that "fixed" it.

    -jim lee
  29. Replies
    6
    Views
    379

    Thanks guys! It looks like everything works now....

    Thanks guys! It looks like everything works now. Got power into the correct pin and cut the trace.


    https://youtu.be/JWgQ5aM2B5M

    -jim lee
  30. Replies
    6
    Views
    379

    Its a 3.2, They are all on the same ground, the...

    Its a 3.2, They are all on the same ground, the trace is not cut. I'd like to program it with the USB while its running on the 5V line from the power supply. I just looked at the diagram and there is...
  31. Replies
    6
    Views
    379

    Running on 5V Power..

    Obviously I've made a mistake in my wiring somewhere. I have power coming off of a 5V switching, regulated power supply. All I've hooked to the processor is the data line of a string of neoPixels....
  32. Replies
    2
    Views
    309

    Yes! Thank you!! -jim lee

    Yes!

    Thank you!!

    -jim lee
  33. Replies
    5
    Views
    331

    It looked like I was just overrunning the output...

    It looked like I was just overrunning the output buffer. I was doing something like a stack crawl by having a serial output in each function both in and out. It would work if I had a better...
  34. Replies
    2
    Views
    309

    Analog in speed

    I have teensy3.2s. I've been looking around but am having a tough time finding how fast I can make analog reads. Is there a spec. for this? I hear the talk about doing sound sampling, I'd just like...
  35. Replies
    5
    Views
    331

    Debugging with the serial port, issues..

    I put Serial.println("bla bla"); lines all over in my code trying to trace my program flow. I'm seeing them get skipped over. Is this a known issue? If so is there a way to force them to block 'till...
  36. Replies
    1
    Views
    218

    Files files files.. SD card questions.

    I'm beginning work on something kinda' like a micro database library. Hence, I have to get up to speed with what is available to me working with SD cards. Up 'till now I've happily used the stuff...
  37. Replies
    7
    Views
    1,479

    Ok, never mind. I wrote a bunch of test cases and...

    Ok, never mind. I wrote a bunch of test cases and it seems to work great. Was all worried for nothing I guess.

    -jim lee
  38. Replies
    7
    Views
    1,479

    Hello again everyone, back on processors again...

    Hello again everyone, back on processors again from doing other things for a long time.

    I have a question.

    baseClass;

    derivedClass;

    I was under the impression that if I called the...
  39. Replies
    11
    Views
    3,288

    I donno'. I love the form factor of his stuff....

    I donno'. I love the form factor of his stuff. But I really don't want to learn to program yet another processor.

    -jim lee
  40. Replies
    11
    Views
    3,288

    Oh! Well that explains a lot. Thanks guys! ...

    Oh! Well that explains a lot.

    Thanks guys!

    -jim lee
  41. Replies
    11
    Views
    3,288

    What are people using for WiFi?

    I bought this.. https://www.adafruit.com/product/2999

    And they (The Adafruit people) say to use the WiFi101 library to run this. I'm finding that WiFi101 does a good job connecting to my network....
  42. Replies
    25
    Views
    4,310

    Ok I tried it, it seems to work better. But I...

    Ok I tried it, it seems to work better. But I wonder what I can expect?

    How many zeros can I expect to be able to type before I should expect errors?

    1.000..009 <- Case 1
    0.00...0009 <- Case 2...
  43. Replies
    7
    Views
    1,247

    Yeah well, I have a little brain. -jim lee

    Yeah well, I have a little brain.


    -jim lee
  44. Replies
    7
    Views
    1,247

    Ok thanks! Glad I asked. -jim lee

    Ok thanks!

    Glad I asked.

    -jim lee
  45. Replies
    7
    Views
    1,247

    A question about pin current.

    Can I run one of these from the digital pins of my Teensy 3.2?
    Little vibrator

    I was thinking the at 3.2V

    Voltage: 2V - 5V
    5V current draw: 100mA,
    4V current draw: 80mA,
    3V current draw:...
  46. Thread: .MP3 Doorbell

    by jim lee
    Replies
    2
    Views
    1,067

    There I toned it down a little. Thanks for the...

    There I toned it down a little.

    Thanks for the complement!

    -jim lee
  47. Thread: .MP3 Doorbell

    by jim lee
    Replies
    2
    Views
    1,067

    .MP3 Doorbell

    I've been burning midnight oil for weeks on this. Had to learn a lot to get it all working.

    10038

    Here's the link Its not completely edited so it reads kinda' rough still.

    -jim lee
  48. I'm pretty sure there were little issues all...

    I'm pretty sure there were little issues all over. I'd been building, coding & 3D modeling days and nights for awhile. I understood the high level stuff and tried to wing it on the low level SPI...
  49. Opps sorry, I was shown the link here so I...

    Opps sorry, I was shown the link here so I thought it was well known in these parts. Here is the URL to the library I linked to.

    The SUMOTOY library I used.

    Now here's something else that came...
  50. Ok. Finished up the hardware, sorted out all the...

    Ok. Finished up the hardware, sorted out all the wiring.

    There are three things on the SPI bus. SD drive, Adafruit music card, and an adafruit 128x128 OLED display. The SD drive is sitting on the...
Results 1 to 50 of 109
Page 1 of 3 1 2 3