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

Search:

Type: Posts; User: PDOS

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    131
    Views
    23,249

    Hi Kurt, I have exactly the same problem using...

    Hi Kurt, I have exactly the same problem using Geany under Linux. I simply dodge the problem by going back to the proper source .h file but it is a downright nuisance.
  2. Paul, thanks for your informative reply. Happily...

    Paul, thanks for your informative reply.
    Happily I have some IO bus buffer chips (74AHC126N) on hand. From the datasheet:


    I am thinking of tying the buffer output enable pin to the Teensy's...
  3. No harm done. We all do the best we can. ...

    No harm done. We all do the best we can.



    We are all in the same boat, though happily not a cruise ship.
  4. Thanks for your helpful response.

    Thanks for your helpful response.
  5. Can 3.3 V be safely applied to a Teensy 4 I/O pin while the Teensy 4 power is off?

    Can a +3.3 voltage be safely applied to the I/O pin of a Teensy 4 while the Teensy 4 power is off?

    I can't get a clear answer from the datasheet, which says

    4.2.1.3 Power supplies usage
    All...
  6. This is all fascinating stuff. As a keen...

    This is all fascinating stuff. As a keen endurance runner I am wondering whether a regime of running improves resistance to the virus. I hope so.

    I am puzzled by the decline of new cases in China....
  7. Replies
    16
    Views
    1,038

    RSchuster, To help diagnose the problem I...

    RSchuster,
    To help diagnose the problem I suggest you provide the following information:
    1) The output from the command lsusb
    For example, from my machine

    Bus 002 Device 001: ID 1d6b:0003 Linux...
  8. Thread: Teensy WIKI

    by PDOS
    Replies
    48
    Views
    2,626

    Has Paul been told?

    Has Paul been told?
  9. Thread: Teensy WIKI

    by PDOS
    Replies
    48
    Views
    2,626

    I love it. This is just the thing we need to...

    I love it. This is just the thing we need to create a more organized body of knowledge around the Teensy.
  10. Yes, this will be a very useful capability....

    Yes, this will be a very useful capability. Imagine this scenario. I am developing a system on my favourite, powerful workstation. But then I need to visit the client to show him work in progress and...
  11. Hi Luni, I am impressed by what you are doing...

    Hi Luni,
    I am impressed by what you are doing with VisualTeensy. I think it fills an important need. Because I use Ubuntu Linux I am unable to use it. I tried to run it under Wine but that did not...
  12. Replies
    15
    Views
    1,185

    I look forward to it.

    I look forward to it.
  13. Replies
    15
    Views
    1,185

    Very nice. Is this only for SPI? What about the...

    Very nice.
    Is this only for SPI? What about the MCP23008 and MCP23017 chips that use I2C? Coverage of these chips as well would be the icing on the cake.
  14. Replies
    24
    Views
    1,220

    Tim, what you are doing is a great educational...

    Tim, what you are doing is a great educational exercise and for that reason is well worth doing. But is it a practical necessity, given your goals? That is your call. All I can do is quote my own...
  15. Replies
    24
    Views
    1,220

    Tim, this is why I think the 'arduino-builder'...

    Tim, this is why I think the 'arduino-builder' approach is the better way to go. It takes care of all the details, is simple and is guaranteed to work. And you can embed it into the workflow of your...
  16. Replies
    5
    Views
    661

    This is what I do on the Teensy 4.0 void...

    This is what I do on the Teensy 4.0

    void doReboot() {
    saveStatus();
    // send reboot command -----
    SCB_AIRCR = 0x05FA0004;
    }
    saveStatus() is my routine to save the machine state in a...
  17. Joey, Perhaps you should consider using a...

    Joey,
    Perhaps you should consider using a circular buffer library, like the one contributed by Tonton.
    Here is the long thread where it is discussed. You can learn a lot from that....
  18. Replies
    24
    Views
    1,220

    I should have mentioned that my programming...

    I should have mentioned that my programming environment is Ubuntu Linux 19.10
  19. Replies
    24
    Views
    1,220

    Tim, like you I found the Arduino to be...

    Tim, like you I found the Arduino to be impossibly limiting for serious work. The main problem is this. Large programs became difficult to edit in the Arduino IDE because I was spending too much time...
  20. Replies
    24
    Views
    1,220

    Tim, if you don't mind me asking. What is your...

    Tim, if you don't mind me asking. What is your goal using make? Is it an educational experiment? Do you need a makefile so that you can integrate Arduino into your favourite editor/programming...
  21. Replies
    4
    Views
    341

    Michael, this breakout board looks like just the...

    Michael, this breakout board looks like just the thing I need. How would you solder the Teensy to the breakout board?
  22. Replies
    9
    Views
    698

    Excellent advice.That is what I will do.

    Excellent advice.That is what I will do.
  23. Replies
    9
    Views
    698

    I would dearly like to use these additional pins...

    I would dearly like to use these additional pins but, the big problem, as I see it, is properly aligning the surface mount pin header so that pins accurately lie on the same 2.54 mm grid as the...
  24. Relay back emf is a serious potential problem and...

    Relay back emf is a serious potential problem and I would always use an opto-coupler for this reason and as a precaution against a generally noisy electrical environment..

    The problem is that the...
  25. Replies
    16
    Views
    1,038

    Thanks Paul for that timely reminder. I have...

    Thanks Paul for that timely reminder. I have updated the udev rules file.
  26. Replies
    16
    Views
    1,038

    I have the same environment as you, except I use...

    I have the same environment as you, except I use Ubuntu 18.10
    To recap, your devices and device to PC communication worked for several weeks. Then you started encountering communications...
  27. Gary, the best I can suggest is that you measure...

    Gary, the best I can suggest is that you measure your Teensy's current during wake and sleep modes.
    For a remote location your Teensy should really be monitoring its own supply voltage and current...
  28. Thanks Paul. Perhaps a reverse strategy might...

    Thanks Paul. Perhaps a reverse strategy might work.
    What if I reduced the priority for all interrupts from 128 to, say 130. Then I increased the interrupt priority of IRQ_GPIO6789 to, say, 120?
  29. Teensy 4, Set interrupt priority on given pins

    I would like to increase the interrupt priority for pins 2, 3 and 16 on a Teensy 4.0. This is where I have fuel flow and wheel sensors generating time sensitive interrupts.

    I have been puzzling...
  30. Glad your problem is solved. Just a minor...

    Glad your problem is solved. Just a minor quibble. I2C has open drain connectors on the clock and data lines. As far as I can tell. all you need do is tie SDA and SCK to the 3.3V line through, for...
  31. To clarify the problem: 1. What baud rate did...

    To clarify the problem:
    1. What baud rate did you specify in Serial.begin(monitorBaud)?
    2. Can your PC reliably receive data at that rate?
    3. Have you considered using a compression algorithm?
  32. Most impressive!

    Most impressive!
  33. Replies
    3
    Views
    345

    Corrected teensy_post_compile scripy

    This is an update to my teensy_loader Bash script, above.
    I had hard coded the USB port address as follows
    p6="-port=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7.4/1-7.4.1"
    which is a bad...
  34. Replies
    3
    Views
    345

    VisualTeensy

    Luni, what you have done with VisualTeensy looks very good. My development environment is Ubuntu Linux. I tried to run VisualTeensy using Wine(the Windows emulator for Linux) but sadly it failed. Not...
  35. Replies
    3
    Views
    345

    Library priorities in arduino-builder

    I have a few duplicate libraries. Arduino-builder chooses among these libraries and sometimes the choice is seemingly counter-intuitive.
    And so I have been puzzling over the library priorities...
  36. Replies
    3
    Views
    381

    Advanced coding practices always have a cost, as...

    Advanced coding practices always have a cost, as Frank has said. The real issue is whether this cost is significant in your environment. The answer is to instrument your code and measure the impact...
  37. Replies
    14
    Views
    3,406

    All is working well on Ubuntu Linux. Thanks.

    All is working well on Ubuntu Linux. Thanks.
  38. Thanks Frank, that did the job nicely😊

    Thanks Frank, that did the job nicely😊
  39. Empty placeholders in output of arduino-builder

    I have taken the output of a working sketch for the Arduino IDE that compiles properly and copied the arduino-builder command line:

    /home/peter/Downloads/arduino-1.8.12/arduino-builder -dump-prefs...
  40. Make error 'CORE_PIN0_PORTSET' was not declared in this scope

    I have been trying out Morton's make template for Teensy. https://github.com/apmorton/teensy-template
    I get the following errors(excerpt below).
    For the life of me I cannot find where these symbols...
  41. Thanks, that did the job.

    Thanks, that did the job.
  42. Yes, watching. I tried out this makefile and got...

    Yes, watching. I tried out this makefile and got the following error:-


    The makefile can't find imxrt1062.ld
    It is located here...
  43. Luni's encoder library

    Luni,
    I have been using your encoder library for a while now and I think it is really nice. I like its lean elegance. I added a getValue() function as you suggested and also added a write() function...
  44. This is a little off topic, though nearly...

    This is a little off topic, though nearly relevant. It would seem that VSCode and Sublime Text are the two main contenders for those needing a better IDE than the Arduino one. I have worked for a...
  45. Luni's encoder library

    Luni,
    thanks for that reference. I was looking for a simpler, easier to understand library than that of PJ and this does the job nicely.
    BUT, I am experiencing a strange phenomenon, with your code...
  46. Replies
    5
    Views
    439

    I don't know the answer to your question but my...

    I don't know the answer to your question but my experience may be helpful.

    When supplying 6.41 mA to a load, the pin voltage(pin 22) dropped from 3.40 to 3.217 V, a drop of 183 mV.

    This...
  47. Replies
    59
    Views
    5,598

    I am pleased to say that Teensyduino 1.50 and...

    I am pleased to say that Teensyduino 1.50 and Arduino 1.8.11 with Teensy 4.0 work nicely on my Ubuntu 19.10. Software reboot works too.
  48. Replies
    0
    Views
    179

    Sqlite on Teensy 4.0

    Has anyone implemented Sqlite on a Teensy, especially Teensy 4.0?

    It seems to me that Teensy 4.0 will be capable of supporting Sqlite very nicely and this would be a big advantage for a myriad of...
  49. Use a FRAM

    I us a 32 kb FRAM for this purpose.
    See https://www.adafruit.com/product/1895
  50. Thanks for the reference to PJ's article on SPI...

    Thanks for the reference to PJ's article on SPI bus design. That is tremendously useful.
Results 1 to 50 of 51
Page 1 of 2 1 2