Commit Graph

31 Commits

Author SHA1 Message Date
Pierrick C
aafc5f2c77 Small changes in verbosity 2018-09-10 10:00:26 +02:00
Pierrick C
d5be5e1a28 Better way to free ressources from unused neopixel 2018-09-10 09:58:31 +02:00
Pierrick C
af9d40ceb6 Fix file rotation.
Now it's a method of Data classes
2018-09-10 09:57:01 +02:00
Pierrick C
fba971349c Big rewrite !!!
Data objects has subclasses for GPS, system and BME280 and moved to 
module
2018-09-09 11:39:21 +02:00
Pierrick C
bc875c32fe Do not wiat for fix to use date/time from GPS => use GPS RTC everytime! 2018-08-25 22:21:37 +02:00
Pierrick C
c64f463ef0 pylint and PEP 8 checks (again) 2018-08-25 22:16:09 +02:00
Pierrick C
eeaa78869c Some code formatting changes 2018-08-25 11:44:35 +02:00
Pierrick C
67b7fdce68 pylint and PEP 8 checks
Only styles changes
2018-08-25 11:38:05 +02:00
Pierrick C
b4036b8092 Debug daily file rotation 2018-08-24 21:19:49 +02:00
Pierrick C
17757f7b1f Add file rotation : data.csv => hourly => daily 2018-08-19 23:39:58 +02:00
Pierrick C
4b9885d7a7 Add GPS data to data on flash memory 2018-08-19 00:01:23 +02:00
Pierrick C
b7187d6d54 Add Vbat to written data on flash 2018-08-17 23:19:30 +02:00
Pierrick C
fe009f6116 Add different interval of time for sending data to Rpi and backup on flash memory 2018-08-15 18:59:03 +02:00
Pierrick C
d0c130e5e6 New (working !) UART to communicate with the raspberry pi 2018-08-15 18:44:13 +02:00
Pierrick C
d9d6d80588 Add info about pins usage and some tweak to try to debug 2d UART (to raspberry pi) 2018-08-12 17:09:47 +02:00
Pierrick C
4acb6bee45 Move code from M0 express feather board to M4 express board 2018-08-11 15:57:35 +02:00
Pierrick C
3718666890 Add age (in seconds) of the last GPS fix 2018-08-04 16:20:51 +02:00
Pierrick C
d88a47d793 Add end of line symbol to after json output to uart 2018-08-04 14:26:08 +02:00
Pierrick C
e6faa04702 More informations 2018-08-04 12:05:23 +02:00
Pierrick C
b767ff9670 More comments and informations 2018-08-04 12:03:11 +02:00
Pierrick C
4cc41e8e9a Add threshold parameter to set_clock_from_gps() and update some documentation 2018-08-03 23:25:14 +02:00
Pierrick C
66abc780f8 Add @property decorator to some method of Data class 2018-08-03 23:10:40 +02:00
Pierrick C
60e4b9f12d todo & version update 2018-08-03 22:44:41 +02:00
Pierrick C
a5a279a64d Add first lines of code to send json data to raspberry pi with additionnal UART 2018-08-03 22:44:01 +02:00
Pierrick C
588a0e815c Debug json : now valid compact JSON (RFC 4627) 2018-08-03 20:38:46 +02:00
Pierrick C
f07f998771 Reduction of memory use and fragmentation
Add onbaord LED as "read-only flash" indicator
2018-08-03 19:59:34 +02:00
Pierrick C
7aa786493b Delete unnneeded code to disable GPS 2018-08-03 18:29:21 +02:00
Pierrick C
403ff7f550 Add : cut power to the GPS module if gps_enable if False to save battery 2018-08-03 15:35:03 +02:00
Pierrick C
b08a56b204 Move function "update_neopixel()" to data class method "atmo2rgb()" for consistency and french to english color variables translation 2018-08-03 15:00:28 +02:00
Pierrick C
280823577c Full declaration of Data.data dict to "reserve" the RAM 2018-08-03 12:09:55 +02:00
Pierrick C
bb88522d51 Updated directory arch 2018-08-03 10:59:14 +02:00