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

Search:

Type: Posts; User: immortalSpirit

Search: Search took 0.00 seconds.

  1. Replies
    54
    Views
    4,426

    Problem solved!!

    I have stumbled upon a "fix"!

    When I click the "Tools" pulldown and select the Port, I have a choice at the top called "/dev/cu..... Serial (Teensy 3.2)"

    And below, there is another choice,...
  2. Replies
    54
    Views
    4,426

    Thanks Frank B. Laughing out loud! There is a...

    Thanks Frank B. Laughing out loud! There is a small but finite probability I'll be laughing about this all week!
  3. Replies
    54
    Views
    4,426

    Thanks for quick reply. Yes, actually I had...

    Thanks for quick reply. Yes, actually I had something very similar. But just "while (!serial) {};" without the millis(). (And instead of "Hello World" I print out "Welcome, O Great and Mighty...
  4. Replies
    54
    Views
    4,426

    Teensyduino 1.52 (and 1.51 before it) is crashing...

    Teensyduino 1.52 (and 1.51 before it) is crashing often and consistently.

    All I have to do is upload cmd-U and open serial monitor cmd-shift-m about 5 or 6 times and it will crash. The program I...
  5. Yes, all the teensy's have kept similar/same...

    Yes, all the teensy's have kept similar/same ordering, but then that just defers the question to why the 1st version was scrambled. In the final analysis, you'd have to ask Paul.

    If u look at the...
  6. Joaquin, you most definitely CAN access the PINx...

    Joaquin, you most definitely CAN access the PINx registers just like in AVR. Except that they are named "GPIOx_PDIR" instead of "PINx". This is just a symbol error, not a missing piece of hardware!...
  7. Replies
    549
    Views
    241,505

    Bravo Paul! May u sell many and prosper!

    Bravo Paul! May u sell many and prosper!
  8. Well, OK, u could be right! Seems like that's...

    Well, OK, u could be right! Seems like that's what I determined "back then" when I answered the first post here. I too merely "skimmed" the K20 manual. I'm not engaged enuf now to look at it more,...
  9. Regarding: e.g. PORTD = B00001010 & PORTB =...

    Regarding:
    e.g. PORTD = B00001010 & PORTB = B10010000

    No, no way to do that. But can do two instructions back-to-back. On Teensy what u called PORTD/B is GPIOD/B_PDIR/PDOR. At 48 or 72 MHz...
  10. If I read u right, u r connecting 4 Teensy pins...

    If I read u right, u r connecting 4 Teensy pins to your mux and want to change them simultaneously.

    Do they need to be consecutive pins on the Teensy? If not, then the solution is to wire your...
  11. Replies
    21
    Views
    16,439

    Thank you! That looks very much like what I want!...

    Thank you! That looks very much like what I want!

    Sorry, my bad, I only reviewed first couple of pages and missed that. Thanks again.
  12. Replies
    21
    Views
    16,439

    Yes I did! Some suggestions there, but no...

    Yes I did! Some suggestions there, but no answers! I'm not looking to develop code myself, I'm looking for developed code! (Code that is very simple to use). If none is found, I may have to break...
  13. Replies
    21
    Views
    16,439

    I want to re-visit this thread one year later. I...

    I want to re-visit this thread one year later. I still don't see any low power library... Is there any news?

    I just want to shut everything off except a single interrupt on any edge of one input...
  14. Perfect answer, thank you Michael! This code...

    Perfect answer, thank you Michael!

    This code was just tested in all 6 of (24,48,96) x (3.0,3.1) combinations and worked perfectly!

    #if defined(__MK20DX128__)
    #define...
  15. Can a running pgm tell the processor speed it's running at, on a Teensy 3.0 or 3.1?

    On a Teensy 3.0 or 3.1, I can reach for the Tools menu and set the cpu speed to 24, 48, or 96 MHz, then upload my program.

    Can that program then detect what cpu and speed it is running at?

    Is...
  16. You're welcome.:)

    You're welcome.:)
  17. If u look at the circuit diagram here:...

    If u look at the circuit diagram here: http://www.pjrc.com/teensy/schematic.html (scroll down to the 2.0 version)
    you will see identifiers around the edges. For example, the top right hand corner...
  18. Replies
    5
    Views
    5,206

    After spending some time figuring it out, I gave...

    After spending some time figuring it out, I gave a more complete answer in another topic:...
  19. :) Motto for the year: WE ARE HAVIN' FUN NOW!

    :)

    Motto for the year: WE ARE HAVIN' FUN NOW!
  20. Beautiful! Just what the doctor ordered! Thanks!:D

    Beautiful! Just what the doctor ordered! Thanks!:D
  21. I've been using these:...

    I've been using these: http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_2119697_-1
    for my Arduino Nanos. But its "mini" USB not quite what Teensy wants. I was disappointed to find...
  22. You are most welcome! It is gratifying to help...

    You are most welcome! It is gratifying to help someone! Please make all checks out to the "Steven Swift Car Repair Fund"... :)
  23. Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

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

    OR, "How to get a fast 8-bit-wide digital read/write!"

    I spent the evening figuring...
  24. "We all" != "Paul"! Poor Paul! I had the very...

    "We all" != "Paul"! Poor Paul!

    I had the very brief thought yesterday, hey, if I poured over this part of the manual *I* could write some documentation! Then reality hit me. Perhaps in an...
  25. Thanks. I have looked over the reference, does...

    Thanks. I have looked over the reference, does answer my question and lots more. As to where is the manual, haha!
  26. Replies
    5
    Views
    5,206

    Paul, that is exactly what I found out. Firstly,...

    Paul, that is exactly what I found out. Firstly, in answer to JMS, here is my exact workaround:

    This was my original code. Note that "mode" is my own variable, not a processor thing...

    ...
  27. AnalogRead extension procedures and THE MISSING MANUAL!?

    The Arduino documentation only tells me about analogRead(pinNumber).

    In various forum entries here I've seen mention of:
    analogReadRes(12);
    analogReference(DEFAULT);
    ...
  28. Replies
    21
    Views
    16,439

    Teensy 3.0 LowPower examples don't work!

    On Teensy 3.0 menu, File->Examples->LowPower contains two example programs.

    When I try to use either I get: "fatal error: avr/sleep.h: No such file or directory".

    Both #include "LowPower.h". I...
  29. Replies
    0
    Views
    2,112

    Kudos from a newbie!

    Many kudos to TEENSY 3.0: My code ported!! And it even works!!! :)

    My first TEENSY arrived via the mailman at 3PM Saturday. By 4 PM I had my entire code suite of 7598 lines running flawlessly!...
Results 1 to 29 of 29