Commit Graph

496 Commits

Author SHA1 Message Date
theFeiter
2eb8755ce9 add spi Initialization for ESP32 2022-07-07 12:47:30 +02:00
theFeiter
d093128e7c only use defined spi pins on ESP32 2022-07-07 12:38:57 +02:00
theFeiter
6b51e1c978 add prefixes to defines 2022-07-07 12:37:04 +02:00
Sascha
a26346dc86 Update keywords.txt
Added literals and sorted entries for easier maintenance.
2022-07-07 12:32:34 +02:00
theFeiter
d013f38196 apply some compiler suggestions 2022-07-07 11:59:04 +02:00
Sascha
4860d694c3 Update .gitignore 2022-07-07 11:57:54 +02:00
theFeiter
5d4d0d40cc Merge branch 'create-sd-card-logging' into spiffs-logging 2022-07-07 11:55:25 +02:00
theFeiter
5e7f277bcd small corrections 2022-07-07 11:53:37 +02:00
theFeiter
cb47f6c02e use littlefs since spiffs is deprecated 2022-07-07 11:49:57 +02:00
theFeiter
d67e831e64 Revert "use littlefs since spiffs is deprecated"
This reverts commit da4b403246.
2022-07-07 11:45:18 +02:00
theFeiter
da4b403246 use littlefs since spiffs is deprecated
apply some suggestions from the compiler
2022-07-07 11:42:17 +02:00
Sascha
25fb6b4d26 refactored GLOBALS to FDRS_GLOBALS
Globals is just too... global :)
Could also conflict with other libraries.
2022-07-07 11:40:12 +02:00
Sascha
86f0a1c4ef Update .gitignore
Added fdrs_globals.h to .gitignore.
This way one can directly work in the repo and maintain personal configuration without exposing it to the public by accidentially submitting them.
If someone knows a safe way to revert a file in a repo with fully removing the previous commit, I would be glad to hear about a solutin.
2022-07-07 11:17:06 +02:00
theFeiter
9d5a1062dc change filename 2022-07-07 00:48:58 +02:00
theFeiter
5624ac30af create SPIFFS logger function 2022-07-07 00:27:01 +02:00
theFeiter
61d6556373 create SPIFFS logger function 2022-07-07 00:26:55 +02:00
theFeiter
0738fc1e72 rename again to match other 2022-07-06 23:17:04 +02:00
theFeiter
a7ab16d9f7 rename again to match other 2022-07-06 23:14:25 +02:00
theFeiter
abd9593869 rename method 2022-07-06 23:03:28 +02:00
theFeiter
c5ad360ab0 Merge branch 'dev' into create-sd-card-logging 2022-07-06 22:59:21 +02:00
theFeiter
520ce3f050 add column information 2022-07-06 22:58:28 +02:00
theFeiter
b822698b81 uncomment 2022-07-06 22:53:17 +02:00
theFeiter
4ae1b18cfb added ntp time keeping 2022-07-06 22:42:59 +02:00
Timm Bogner
449b565f0e
Merge pull request #44 from Gulpman/dev
Dev - cleaned up library structure and got rid of redundant files
2022-07-06 10:58:04 -05:00
theFeiter
fa0f8c1336 update readme 2022-07-06 16:14:01 +02:00
theFeiter
50500d0188 filename defined on function call 2022-07-06 16:06:35 +02:00
theFeiter
2b14e3171b add space 2022-07-06 15:40:37 +02:00
theFeiter
c49fe47bd8 move overload method 2022-07-06 15:38:56 +02:00
theFeiter
e867cbc9e7 use csv format on sd log 2022-07-06 15:36:10 +02:00
theFeiter
79c2baa2a9 Merge branch 'dev' into create-sd-card-logging 2022-07-06 15:29:09 +02:00
Sascha
d97fb8744b Fixed bug in keyword.txt
The name you want to highlight and the KEYWORDn must ber separated by a TAB not a SPACE.
Now syntax highlighting works.
2022-07-06 14:50:03 +02:00
Timm Bogner
9c9b56f392 a compromise 2022-07-05 22:50:36 -05:00
Sascha
b2423b5265 cleanup of examples folder
- copied fdrs_functions.h to the root dir.
- removed all local occurances of fdrs_sensor.h and included the global <fdrs_sensor.h> instead.
- removed all local occurances of fdrs_functions.h and included the global <fdrs_functions.h> instead.
- made inclusion of fdrs_globals.h the default instead of using the llocal definitions in the file everywhere were FDRS_xxx is defined correctly.
- Fixed the faulty calls to functions where the local defines instead of the FDRS_xxx defines were used, e.G. BAND instead of FDRS_BAND
- For easier debugging I added some variation to the sensor sketches: Humidity values are randomly choosen between 0-100. For ease of view I made the first digit of the temperature values match the Reading_ID
2022-07-06 01:03:22 +02:00
Sascha
ca91cde9ec Update fdrs_globals.h
header wrap-up
2022-07-06 00:36:23 +02:00
Sascha
5ef5b73df3 Cleaned up library base structure
* keywords.txt (for syntax highlighting), library.properties (for a proper description added
* moved Universal_Sensor_beta to the examples directory
* moved Sensors, FDRS_Sensor and FDRS_Gateway to resources folder. They contain documentation which needs to be kept (to be discussed where to put that later on) but are fully redundant as they are just duplicates of the different sensors / gateways in the examples folder.
2022-07-06 00:33:32 +02:00
Sascha
06a46d1ec9 second step: renamed Examples to examples
The Examples folder must be named examples (with lower e at the beginning) to show up in the Arduino IDE example folder.
2022-07-05 22:18:54 +02:00
Sascha
c6c477e681 intermediate step: examples folder must be fully lower cases 2022-07-05 22:17:53 +02:00
Timm Bogner
6793750a78
Update README.md 2022-07-05 09:25:21 -05:00
Timm Bogner
61709a2638
Update README.md 2022-07-05 09:17:13 -05:00
Timm Bogner
3152062023 moving and shuffling 2022-07-05 09:05:31 -05:00
Timm Bogner
65b37f7faa
Merge pull request #41 from Gulpman/dev
Dev: Making FDRS datatypes globally available
2022-07-05 05:56:19 -05:00
theFeiter
b7dcadf011 if sending mqtt fails, log to sd 2022-07-04 21:54:39 +02:00
theFeiter
60242ab2cd dont log when sending serial,
dont try to init sd if not in use
2022-07-04 20:01:17 +02:00
theFeiter
f6debe8f00 added crude timestamp method 2022-07-03 20:23:12 +02:00
theFeiter
04e253566d go into endless loop when sd init fails 2022-07-03 19:21:58 +02:00
theFeiter
f4b5799b16 renamed defines 2022-07-03 18:50:56 +02:00
theFeiter
60e6c66cea make filename configurable, dont do anything when sd not in use 2022-07-03 18:50:41 +02:00
theFeiter
4bf0653cdb make filename configurable 2022-07-03 18:50:06 +02:00
theFeiter
78478b977c move and remove functions 2022-07-03 18:09:48 +02:00
theFeiter
37bdcd413b SPI seems to work simultaniously 2022-07-03 18:03:37 +02:00