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

Search:

Type: Posts; User: Fenichel

Search: Search took 0.00 seconds.

  1. solved

    I have answered my own question. I upgraded Teensyduino to 1.48, and that of course dragged in all the libraries. Now it compiles.

    Thanks to Paul & defragster for prompt patient attention.
  2. No, there's nothing in that folder but the...

    No, there's nothing in that folder but the readme.txt file that tells me
    For information on installing libraries, see: http://arduino.cc/en/Guide/Libraries

    It says it took each of the Wire...
  3. Teensy 3.2/3.1 Arduino 1.8.8 ...

    Teensy 3.2/3.1




    Arduino 1.8.8


    1.46-beta10
  4. ReadTest example in DS1307 library doesn't compile

    With no modification, the example doesn't compile. It begins

    #include <Wire.h>
    #include <TimeLib.h>
    #include <DS1307RTC.h>
    and that's enough to make the compiler complain. The compiler says
    ...
  5. Replies
    4
    Views
    180

    I am not sure why it might make a difference, but...

    I am not sure why it might make a difference, but I have cleaned up the anemometer.inc code to use an elapsedMicros variable instead of an unsigned long.
    // anemometer.inc
    /* routine IDs 23xxx

    ...
  6. Replies
    4
    Views
    180

    Thanks for the idea. I can see how wraparound...

    Thanks for the idea. I can see how wraparound might make usEarliestPossibleWindTurn falsely small, so that I might double-count a wave by (erroneously) counting the switch-bounce, but to get all...
  7. Replies
    4
    Views
    180

    difficulty with interrupt routine

    I am re-developing an environment-monitoring system that I first implemented with Arduinos. The system comprises a half-dozen or so peripheral stations, a base station, and a Windows application.
    ...
  8. problem explained and not fixed, but made tolerable

    The phenomena that made me start this thread seem to be similar to those shown in @Paul's video, so I suppose if they appear again, they will, after a while, go away again. For the moment, that's...
  9. Thanks to @Paul & @defragster for your rapid...

    Thanks to @Paul & @defragster for your rapid responses.
    My problem is gone, but unexplained. I reattached the Teensys to Windows to follow @Paul & @defragster's suggestions, but I was...
  10. Teensy 3.5s stopped supporting USB connection

    Two of my Teensy 3.5s (S/N 474530 & 493475, both with PID 0486), after working for several hours, are suddenly no longer recognized by Windows 7/64 as providing a USB connection, so they can't be...
  11. I thought of that, but I dislike using #defines...

    I thought of that, but I dislike using #defines to do more than set parameters. Using them to change the meaning of code makes me nervous. It's just a matter of style.
  12. solved

    A good solution turns out to be
    to not use Wire.h
    to not use WireKinetis.h
    to use i2c_t3.h
    to not use setSDA or setSCL, and
    to revise the Adafruit BMP085 code, replacing every instance of...
  13. Teensy library code providing i2c services

    This situation is messier than I had thought. There are at least 3 Teensy library packages providing I2C services. The AdaFruit code to control the BMP085 makes explicit use of a Wire object, and...
  14. Thanks for your quick response. I had not run...

    Thanks for your quick response.

    I had not run across any mention of Wire2 before, but it makes sense, analogous to Serial1, Serial2, etc. After a quick look, I don't see where any of the Wire<n>...
  15. apparent bug in wire library (i2c_t3) with Teensy 3.5

    I am trying to use a BMP085 pressure/temperature sensor with a Teensy 3.5. The BMP085 is on a Sparkfun board (their SEN-09694), connected through a level shifter (SparkFun BOB-11955). The code I'm...
  16. Replies
    1
    Views
    172

    multiple open files on uSD card

    I believe that at one time (perhaps in the Arduino library, long before Teensy) the SD library did not allow more than one open file at a time. I am a little confused by the various SD-related...
  17. apparent success

    @UhClem's observation seems to have done the trick. I had one hang earlier today, but I can't reproduce it. The system being redone onto Teensies runs for years at a time, so I can't yet say that I...
  18. I started by copying the code from one of the...

    I started by copying the code from one of the examples, then expanded what I thought was the result of the top-level call to try to track down my problem. Your observation suggests that I got lost...
  19. I wrote in haste; by "false alarm" I meant that...

    I wrote in haste; by "false alarm" I meant that no one should drop other projects and come running to my aid. Not yet, anyway.


    My setup already has a delay before I start organizing the SD. In...
  20. I can't say that yet. I need to do some more...

    I can't say that yet. I need to do some more testing. All I can say now is that I can demonstrate in a 10-line program that using printf instead of sprintf will be accepted by the compiler, but...
  21. false alarm; my bonehead coding error

    I was using printf instead of sprintf.
  22. I have done limited further experimentation, and...

    I have done limited further experimentation, and the SD library works only inconsistently for me. I believe that there is some sort of timing issue involved, but the library code is, as others on...
  23. problem persists with current libraries

    I am in the process of moving a big project from various hardware to Teensys. I have a Teensy 3.5 that has no trouble with the cardinfo example from the SD library, but when I use near-identical...
Results 1 to 23 of 24