Still looking for help with this ... perhaps if I re-word:
To re-use my proven code with lots of "Wire." entries on Wire2 on my T3.6 I am using:
#define Wire Wire2 but only in the RTC and EEPROM tabs, leaving the SSD1306 OLED on Wire0
This is...
My RTC_master sketch is fairly mature and works for the DS1307 module with inbuilt NVRAM, or the DS3231 module with 32K EEPROM chip.
I use the permamanet memories to record itmes such as datetime when set, battery changed, drift factor (for...
I used to teach MS-DOS to keen novices around 1990. After a couple of years it became clear half of every class would just never get it
that's a neat trick! I actually still have a CMD shortcut on my desktop but TBH it hardly ever gets used...
OK got it, thanks, I've copied the relevant libraries into the AVR and Renesas packages:
C:\Users\...\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries...
Many thanks @luni, internal error fixed.
Curiously internal the error did not occur when i compiled same sketch for R4 WiFi.
Back to the the original "control reaches end of non-void function" warning
If I did want to use the busStatus return...
OK I've since realised this was a dumb question,
For anyone else with same query: it turns out using the DS1307RTC and Timelib also work with the DS3231 RTC.
If only I'd known before wasting too much time on other (lesser :-) ) libraries for...
now you've got my attention.
As mentioned, for "warning: control reaches end of non-void function" I think it means I have missed a semi-colon somewhere. but I can't find it. Any suggestions for resolving aprpeciated.
Here's a (sanitised)...
Not sure I understand "clean versus a partial build/rebuild"...
in case it is relevant: my sketch comprises 15 tabs, with one .ino and seven .cpp/.h pairs, one of which is named RTC.
(i.e. RTC.cpp is not a library component)
PS: the example...
I have some sketches I use on teensy and other Arduinos. When I compile for teensy I get errors telling me there are multiple libraries conflicting between the teensy library, and the same library on SKETCHES/libraries. So I remove the offending...
Sometimes I get this warning on compile:
...\Documents\ARDUINO\SKETCHES\TEENSY\DS1307_teensy\RTC.cpp: In function 'byte RTC_WriteByte(int, byte)':
...\Documents\ARDUINO\SKETCHES\TEENSY\DS1307_teensy\RTC.cpp:284:3: warning: control reaches end of...
Over my years playing with various Arduinos I've built many sketches that included the trusty old DS1307 RTC, using code based on excellent descriptonm at the PJRC Time Library page. I've also used same basis for getting GPS time.
Recenty I've...
OK great, I've toggled that setting and will see how it goes ...
Curious: what % of teeny users are on 1.8.19 ? I've been using 2.x.x since late last year and it's "OK" despite the flaws
(although I could do without the random RESTART request...
Using T3.5 I get the usual message at upload if I forget to select the equivalent teensy port:
Teensy should be selected from "teensy ports" rather
than "Serial ports" in Arduino's Tools > Port menu
If I don't follow the advice the sketch...
I forgot to mention, I did a google spread sheet on various microprocessors:
Spreadsheet: https://docs.google.com/spreadsheets/d/1LSi0c17iqtvpKuNSYksMG306_FpWdJcniSRR6aGNNYQ/edit?usp=sharing
The first sheet tries to compare each of the pins in...
I'm using IDE 2.3.2
My internet went down today while I was using the IDE, and stayed down for a few hours.
After that compiling became really slow, like maybe 10 times as long.
It persisted even after a re-opened the IDE.
I really avoid the...
Is the teensy 4.1 footprint pin-compatible with teensy 3.5/3.6?
I'm looking at Tindie's 3.5/3.6 breakout as they don't seem to offer a 4.1 version, thanks
Excellent explanation, thank you Paul. I deleted my SdFat lib as you suggested and the Fs.h warning dissappeared. (I'd previously replaced File with FsFile, based on TFTLCDCyg's earlier post ... easy indeed).
I looked at some of the TD SdFat...
Ahah, knowing that history helps heaps, thanks. I've got some reading to do (e.g. on meaning/purpose of SDIO)
I'd still like to know the reason behind the first warning message about about FS.h? (in my original post) It seems to happen with all...
Ok I did those code changes (plus a few more, mainly File->FsFile) and it now compiles, thanks @TFTLCDCyg
What is relationship between SdFat and SdFat-beta libraries? Prior to compiling I manually dowloaded SdFat-beta ZIP from GitHub and put it...
I have a number of sketches I wrote for my T3.5 & T3.6 back in 2017. They all successfully read &/or wrote to the SD card using the SdFat library by grieman (which, based on my sketch comment, was a beta release) using this code snippet...