Search results

  1. M

    Pullup voltages with Teensy and Arduino on I2C circuit

    Hi, Does the slave send any data back to master? I have a project in which I have a 3.3V ESP8266 as master sending time and date info to a homebrew 5V Uno that then controls a display. It has worked reliably for many days of continuous operation without level shifting or pullups. The wires have...
  2. M

    “String” function

    Hi, Just in case it's not obvious, you don't need to do anything with the returned value if you don't want to. You can simply ignore it. best, Michael
  3. M

    Neopixels with SPI transactions on prop shield working with ST7735/SSD1351 displays

    Totally understand. That's why I said tangent to topic. Your project is up and running to your satisfaction, and "if it ain't broke..." there are other projects waiting. I posted the link because it was relevant to the discussion and I thought it was interesting in its own right and worth...
  4. M

    Neopixels with SPI transactions on prop shield working with ST7735/SSD1351 displays

    Hi, A tangent to topic, but this website has some interesting material on Neopixels. He builds an alternate library using SPI, taking you thoroughly through the thinking. On casual inspection, it looks to me like it has the potential to reduce that 1 ms blocking time, expecially using a Teensy...
  5. M

    Teensyduino 1.40 Beta #3

    My Mint distro is 64-bit also. --Michael W
  6. M

    Teensyduino 1.40 Beta #3

    Running Linux Mint 18.1 1. Installer ran 2. T-Loader appeared when I clicked verify 3. Upload without issue to Teensy 3.2 The sketch that I posted about in the beta #2 thread continues to run fine. It uses the serial monitor--also fine. :) --Michael
  7. M

    Teensyduino 1.40 Beta #2

    I see, thanks. BTW, both !Serial and !Serial.available() appear to produce the same results. I'll use your suggestion. Less typing, if no other reason. best, Michael
  8. M

    Teensyduino 1.40 Beta #2

    An observation, not really a problem. I notice that with v1.40 I now have to go back to adding "while (!Serial.available() && millis() < 1500);" to setup. I didn't have to do that with v1.36 --Michael
  9. M

    Teensyduino 1.40 Beta #2

    You guys are great. As I hoped, a simple usage issue. "cascade.ino" revised as shown below and works fine now. Everything else is unchanged except for removing the DATA and CLOCK pinModes from setup(). //------------------------------------------- cascade...
  10. M

    Teensyduino 1.40 Beta #2

    Problem with SPI.end() HI, The attached sketch files run light patterns on strings of leds (called "footlights" because they're 12 inches long) driven by shift registers. Most of these routines use SPI, but there is one that toggles the pins manually and needs SPI temporarily disabled. This...
  11. M

    Teensyduino 1.40 Beta #2

    I'm running on Linux Mint. I seem to recall that this used to happen on Win too, but I can't swear to it. When I get home (at work now) I'll check my Macbook. Anyhow, click the upload button (or type ctrl-u) and the Teensy Loader pops from background to foreground while the upload happens then...
  12. M

    Teensyduino 1.40 Beta #2

    Hi Paul, One detail about the Teensy Loader that's a very minor nuisance (maybe only to me) is the way it steals focus when I click the upload button on the Arduino IDE. I usually forget to re-click on the IDE before I try to cntrl-z whatever failed experiment I just tried--then have a WTF...
  13. M

    Products made for use with Teensy

    Hi Paul, Good addition. Re the 3rd party listings, suggest adding a "PJRC assumes no responsibility..." disclaimer to the "not made or sold by PJRC" line. Basic CYA. Best, Michael
  14. M

    Clever spam bots

    "Links to erotic-toys (dot) info are spam in a microcontroller forum.." Maybe they're Teensy-controlled? --Michael
  15. M

    Clever spam bots

    Although these look suspicious, it is possible to legitimately have an account and not post. I don't post much myself, but having an account helps me keep track of what I've read, etc. So I'd be wary of deleting accounts for that reason alone. --Michael
  16. M

    New to Linux, trouble uploading

    Hi, My Win 7 boot disk croaked recently, and I took it as a sign that it's time to migrate. Here are the particulars: Linux Mint 18.1 64 bit Arduino 1.8.2 Teensyduino 1.36 Teensy 3.6 No problem uploading various things to an Uno, just the Teensy. The sketch for the T3.6 (which has worked...
  17. M

    Newbie questions -> Teensy 3.2

    Hi, FWIW, re the Arduino forum, I've frequently thought that the word "stupid" should be banned. My observation of this forum is that questions and answers tend to be on a more sophisticated level. But I've never seen a raw newbie (which is not far from my own state) treated with disrespect...
  18. M

    2.8 in ili9341_touch display code differences vs ili9341_t3 library

    Yes, what defragster said about alternate lines. The "non-alternates" are the default pins that are the same for Arduino Uno etc. As for my debounce delay--that's not an ideal way to do it. It's just good enough for my simple application, where a brief hiccup is not noticeable between file...
  19. M

    2.8 in ili9341_touch display code differences vs ili9341_t3 library

    For me, as you can see in my code, initializing both tft and touch before the SD worked fine. (I did set the alternate SPI data and clock lines before the SD.begin.) Note that my posted example uses the SD slot on the T3.6 (SD.begin(BUILTIN_SDCARD)), but I also tried it successfully using the...
  20. M

    High powered LED project guidance

    Hi, Have you done any experimenting with a small sample of regular WS2811-driven leds? My small experience with Neopixels and Dotstars is that they're pretty darn bright. --Michael
  21. M

    2.8 in ili9341_touch display code differences vs ili9341_t3 library

    I got the touch working on a t3.6 with audio board. I found that the order of calling begin mattered. If I called ts.begin() before tft.begin() (for reasons I don't understand) no audio would be output, though the tft and touch appeared to be working. The following code works for me. It's the...
  22. M

    Teensy Hearing Aid

    Looking forward to following your progress. Single band is what I'll need for the experiments I have in mind, at least at first--simply a box that sits between amplifier and source (computer's analog out in my workroom and Roku with spdif out in living room). I imagine that the width of the...
  23. M

    Porting some high res timing routines from arduino DUE SAM3XAE Cortex M3 to teensy3.6

    Hi, What you describe stretches my grasp of the technology, but I suspect these pages will be of use to you: https://forum.pjrc.com/threads/17532-Tutorial-on-digital-I-O-ATMega-PIN-PORT-DDR-D-B-registers-vs-ARM-GPIO_PDIR-_PDOR?p=21228&viewfull=1#post21228...
  24. M

    PS2 Keyboard Library compatability with newer ps2 keyboards.

    Click "Go Advanced" (next to "Post Quick Reply") to find code tags. --Michael
  25. M

    Teensy Hearing Aid

    Interesting. I hadn't heard about this progress with tonal. In my own case, the tonal component occurs rarely, is of brief duration when it does occur, and so doesn't bother me. (And I've grown accustomed to the non-tonal.) Your dynamic range compression is interesting to me for related...
  26. M

    Teensy Hearing Aid

    I have hearing damage similar to Wayne's description. Seems to me that a key part of this project is going to be audiometrics--determining exactly what frequencies need boosting by how much. For me, tinnitus sounds like a steam radiator hissing in my ears 24/7, with occasion sine-like tones...
  27. M

    Teensyduino 1.35 Beta #2

    On Win 7, Arduino 1.8.1, and T3.6, using the Audio Tute examples, I had no problem accessing the SD card on both the audio board SD and the T3.6 onboard SD. Also was able to use both display and touch on the PJRC ILI9341 touchscreen. Also SPI1 out to shift registers worked with no problem...
  28. M

    microSD slot on teensy 3.6

    Hi, Just skimmed the thread, so apologies if I missed this, but have you tried changing #define USE_SDIO 0 to #define USE_SDIO 1 ? --Michael
  29. M

    Which display is right for my project?

    Sorry--typo (copy & paste error). Here: https://github.com/PaulStoffregen/ILI9341_t3 best, Michael
  30. M

    Which display is right for my project?

    Note that if you wind up using the teensy-adapted ILI9341_t3v library, the Adafruit GFX lib probably won't be needed. I haven't done a point-by-point comparison, but I have seen that most if not all the Adafruit graphics primitives (eg, set cursor, print, draw rectangle, etc) are already baked...
  31. M

    Which display is right for my project?

    Hi, That 4D Systems display is a step up in size and resolution--but sure is pricey compared to $15: http://www.pjrc.com/store/display_ili9341_touch.html It will fill your specifications. And the coding job should be more or less the same, depending on library. --Michael
  32. M

    Max value for elapsedMillis?

    Of course, you can always use the rollover to set a counter and go as long as you want. Won't need to with your specs, though. best, Michael
  33. M

    ILI9341 Screen powered by 4xAAA batteries - how to drop to 4.5V~5.5v

    FYI, I have used that same display powered by the 3.3v out from a T3.2 and a T3.6. Both TFT and touchscreen worked fine. --Michael
  34. M

    Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

    This from Paul in an earlier discussion: https://forum.pjrc.com/threads/17532-Tutorial-on-digital-I-O-ATMega-PIN-PORT-DDR-D-B-registers-vs-ARM-GPIO_PDIR-_PDOR?p=21228&viewfull=1#post21228 --Michael Edit: DOH! Had bookmarked this and just now realized it's earlier in this same thread... --M
  35. M

    Shorting 5V to Ground

    Yes, that's what I meant. --Michael
  36. M

    Shorting 5V to Ground

    Maybe I don't understand. 10K across the leads of the port (to ground from the output to the led?) wouldn't do anything about the short issue. --Michael
  37. M

    digitalwritefast v digital write on teensy 3.2 , 3.6

    OK, thanks and good to know. --Michael
  38. M

    digitalwritefast v digital write on teensy 3.2 , 3.6

    Hi, My understanding is the digitalWriteFast works when the pin numbers is it using are known at compile time. If you're writing to pins represented by a variable, use digitalWrite(). best, Michael
  39. M

    Shorting 5V to Ground

    A thought--you could put the resistor before the jack instead of after the plug. That way, the short will go through the resistor. best, Michael
  40. M

    Teensy 3.6 plays video from SD-Card

    Yeah, I paid a total of about $15 for my first one. Later, I picked up a couple more reasonably by adding them to orders for other stuff. best, Michael
  41. M

    Teensy APA102 POV Poi / Pixel Poi Build. Tutorial

    Hi, You define/prototype your PoiSonic() function within the if ( hallState == LOW ) statement. Suggest moving the prototype to global space. best, Michael edit: Actually, as MortonKopf mentioned, you have other bracketing problems as well...
  42. M

    What is the difference between the 74HCT245 and sparkfun's logic level converter?

    Hi, I've used the quad 74HCT125 level shifter with T3.2 to drive a chain of 30 '595 shift registers (with 240 leds on the outputs) using SPI. Worked fine. https://www.adafruit.com/products/1787 best, Michael
  43. M

    The Untold History of Arduino

    My understanding is that the .org version is far behind the .cc version. Opinions seem to be landing on it going away in favor of cc's. We'll see. --Michael
  44. M

    teensy touch guitar example not working

    Hi, You appear to have misunderstood the purpose of the program. It produces an audio signal right out of the Teensy pin. You can send that output from the A14 pin directly to a headphone or (probably with needed amplification) to a speaker. Possibly you could run it into the line-in on your...
Back
Top