Yes, of course. I knew it would turn out to have been a slip at that bonehead level, but I stared at the code without seeing it. Thanks.
Using .h & .cpp files makes a lot of sense when there...
Type: Posts; User: Fenichel
Yes, of course. I knew it would turn out to have been a slip at that bonehead level, but I stared at the code without seeing it. Thanks.
Using .h & .cpp files makes a lot of sense when there...
addendum:
the uSD card is 2GB, formatted FAT32
all of the example SD programs run without problem
I have been having difficulty with a datalogger-style project; all of the code for the failing component is in the attachment. This component receives messages from remote components via XBee...
Thanks; that did the trick..
There is a
#include <Arduino.h>
line at the top of the main program, but I guess that its scope must be limited to that file.
I am trying to interface a Sparkfun particulate-matter sensor (their P/N SEN-15103) to a Teensy 3.2, using Teensyduino 1.48/Arduino 1.88 under Windows 7/64. To verify that the IDE recognizes the...
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.
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...
Teensy 3.2/3.1
Arduino 1.8.8
1.46-beta10
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
...
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
...
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...
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.
...
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...
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...
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...
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.
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...
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...
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>...
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...
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...
@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...
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...
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...
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...
I was using printf instead of sprintf.
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...
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...