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

Search:

Type: Posts; User: Fenichel

Search: Search took 0.00 seconds.

  1. 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.
  2. 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...
  3. 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...
  4. 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>...
  5. 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...
  6. Replies
    1
    Views
    105

    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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. false alarm; my bonehead coding error

    I was using printf instead of sprintf.
  12. 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...
  13. 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 13 of 13