mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 06:32:06 +00:00
1.2.41 t-echo final build
This commit is contained in:
parent
659286f738
commit
fc9fc1ee6f
@ -9,14 +9,14 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
;default_envs = tbeam
|
default_envs = tbeam
|
||||||
;default_envs = tbeam0.7
|
;default_envs = tbeam0.7
|
||||||
;default_envs = heltec-v2.0
|
;default_envs = heltec-v2.0
|
||||||
;default_envs = tlora-v1
|
;default_envs = tlora-v1
|
||||||
;default_envs = tlora_v1_3
|
;default_envs = tlora_v1_3
|
||||||
;default_envs = tlora-v2
|
;default_envs = tlora-v2
|
||||||
;default_envs = lora-relay-v1 # nrf board
|
;default_envs = lora-relay-v1 # nrf board
|
||||||
default_envs = t-echo
|
;default_envs = t-echo
|
||||||
;default_envs = nrf52840dk-geeksville
|
;default_envs = nrf52840dk-geeksville
|
||||||
;default_envs = native # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here
|
;default_envs = native # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here
|
||||||
;default_envs = rak4631
|
;default_envs = rak4631
|
||||||
|
@ -35,7 +35,7 @@ bool EInkDisplay::forceDisplay(uint32_t msecLimit)
|
|||||||
uint32_t now = millis();
|
uint32_t now = millis();
|
||||||
uint32_t sinceLast = now - lastDrawMsec;
|
uint32_t sinceLast = now - lastDrawMsec;
|
||||||
|
|
||||||
if (false && adafruitDisplay && (sinceLast > msecLimit || lastDrawMsec == 0)) {
|
if (adafruitDisplay && (sinceLast > msecLimit || lastDrawMsec == 0)) {
|
||||||
lastDrawMsec = now;
|
lastDrawMsec = now;
|
||||||
|
|
||||||
// FIXME - only draw bits have changed (use backbuf similar to the other displays)
|
// FIXME - only draw bits have changed (use backbuf similar to the other displays)
|
||||||
@ -54,7 +54,7 @@ bool EInkDisplay::forceDisplay(uint32_t msecLimit)
|
|||||||
// ePaper.Reset(); // wake the screen from sleep
|
// ePaper.Reset(); // wake the screen from sleep
|
||||||
adafruitDisplay->display(false); // FIXME, use partial update mode
|
adafruitDisplay->display(false); // FIXME, use partial update mode
|
||||||
// Put screen to sleep to save power (possibly not necessary because we already did poweroff inside of display)
|
// Put screen to sleep to save power (possibly not necessary because we already did poweroff inside of display)
|
||||||
// adafruitDisplay->hibernate();
|
adafruitDisplay->hibernate();
|
||||||
DEBUG_MSG("done\n");
|
DEBUG_MSG("done\n");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -100,15 +100,15 @@ bool EInkDisplay::connect()
|
|||||||
auto lowLevel = new TECHO_DISPLAY_MODEL(PIN_EINK_CS,
|
auto lowLevel = new TECHO_DISPLAY_MODEL(PIN_EINK_CS,
|
||||||
PIN_EINK_DC,
|
PIN_EINK_DC,
|
||||||
PIN_EINK_RES,
|
PIN_EINK_RES,
|
||||||
PIN_EINK_BUSY);
|
PIN_EINK_BUSY, SPI1);
|
||||||
|
|
||||||
adafruitDisplay = new GxEPD2_BW<TECHO_DISPLAY_MODEL, TECHO_DISPLAY_MODEL::HEIGHT>(*lowLevel);
|
adafruitDisplay = new GxEPD2_BW<TECHO_DISPLAY_MODEL, TECHO_DISPLAY_MODEL::HEIGHT>(*lowLevel);
|
||||||
adafruitDisplay->init();
|
adafruitDisplay->init();
|
||||||
adafruitDisplay->setRotation(1);
|
adafruitDisplay->setRotation(1);
|
||||||
adafruitDisplay->setFullWindow();
|
//adafruitDisplay->setFullWindow();
|
||||||
adafruitDisplay->fillScreen(UNCOLORED);
|
//adafruitDisplay->fillScreen(UNCOLORED);
|
||||||
adafruitDisplay->drawCircle(100, 100, 20, COLORED);
|
//adafruitDisplay->drawCircle(100, 100, 20, COLORED);
|
||||||
adafruitDisplay->display(false);
|
//adafruitDisplay->display(false);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[VERSION]
|
[VERSION]
|
||||||
major = 1
|
major = 1
|
||||||
minor = 2
|
minor = 2
|
||||||
build = 39
|
build = 41
|
||||||
|
Loading…
Reference in New Issue
Block a user