geeksville
8863cb7d5c
enter deep sleep as soon as we send one packet
2020-01-19 10:59:30 -08:00
geeksville
a35c6dcbe9
dynamically probe for screen and don't even use it if...
...
waking from deep sleep timer
2020-01-19 10:12:48 -08:00
geeksville
2da1f623ff
read wake reason at boot
2020-01-19 10:01:05 -08:00
geeksville
ddf47aa134
begin implementing deep sleep (and powering down gps/lora/display)
2020-01-18 18:01:28 -08:00
geeksville
716c355b21
move axpinit and document LDO & LED usage on V1 hardware
2020-01-18 17:41:17 -08:00
geeksville
4018141a45
generate DevEUI based on macaddr if not defined
2020-01-18 14:11:00 -08:00
geeksville
c6e1053ed1
oops - though these pins are no connects, we need to lie to the lmic
...
library because it has an assertion check that will fail.
2020-01-18 13:28:12 -08:00
geeksville
c263355ada
Store joinned network info in flash, so that OTAA will work nicely
2020-01-18 13:21:00 -08:00
geeksville
fdc0edee88
make lora packet count persist in flash (also remove some unneeded init)
2020-01-18 12:37:39 -08:00
geeksville
73bac3be45
we are supposed to use 0xff to mark unused gpios
2020-01-17 21:30:41 -08:00
geeksville
67b6555cc0
remove old settings
2020-01-17 21:29:38 -08:00
geeksville
33483b3d53
share common init and make OTAA work correctly with a non single-ch gway
2020-01-17 21:00:10 -08:00
geeksville
6a0382cba5
fix warning about nop redefinition of axp192 address
2020-01-17 15:39:01 -08:00
geeksville
6f2fd78ae2
switch to V10 BEAM, fix incorrect reset pin binding
2020-01-17 15:37:37 -08:00
geeksville
bb01201e57
we don't want warnings about missing initalizers
2020-01-17 15:22:03 -08:00
geeksville
a1166364a7
altitudeGps is an integer, fix the format string.
...
/home/kevinh/development/lora/ttgo-tbeam-ttn-tracker/main/gps.ino: In function 'void buildPacket(uint8_t*)':
/home/kevinh/development/lora/ttgo-tbeam-ttn-tracker/main/gps.ino:83:42: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=]
sprintf(t, "Alt: %f", altitudeGps);
2020-01-17 15:19:18 -08:00
geeksville
e36d706c95
add vscode workspace definitions
2020-01-17 15:16:42 -08:00
geeksville
1e9fedcbd7
minor changes needed to build with platformio
...
I prefer platformio over the arduino IDE because
it automatically does library dependencies and
has lots of other goodness.
To build and install to a connected device just do:
pio run
2020-01-17 15:15:00 -08:00