mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-06-15 20:15:23 +02:00
JL track status command
This commit is contained in:
parent
378452479b
commit
a3455225f4
@ -1 +1 @@
|
|||||||
#define GITHUB_SHA "devel-202503250850Z"
|
#define GITHUB_SHA "devel-202506082312Z"
|
||||||
|
36
myTrackStatus.example.h
Normal file
36
myTrackStatus.example.h
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
// ************* OLED JL Display Track mA Amperage **************** //
|
||||||
|
// by Herb Morton [Ash] March 23, 2025
|
||||||
|
// Colin Murdoch [ColinM]
|
||||||
|
|
||||||
|
// Inside your config.h file First edit OLED max char rows set to 17
|
||||||
|
// #define MAX_CHARACTER_ROWS 17
|
||||||
|
|
||||||
|
// myAutomation.h
|
||||||
|
// Reporting power status and mA for each track on the LCD
|
||||||
|
AUTOSTART DELAY(5000)
|
||||||
|
ROUTE(238, "Resume/Pause JL Display")
|
||||||
|
IF(236)
|
||||||
|
UNLATCH(236)
|
||||||
|
ROUTE_CAPTION(238, "Paused") ROUTE_INACTIVE(238)
|
||||||
|
PRINT("Pause JL Display")
|
||||||
|
SCREEN(0, 8, "Track status paused")
|
||||||
|
SCREEN(0, 9, "")
|
||||||
|
SCREEN(0,10, "") // several blank lines as needed
|
||||||
|
SCREEN(0,11, "")
|
||||||
|
SCREEN(0,12, "")
|
||||||
|
SCREEN(0,13, "")
|
||||||
|
SCREEN(0,14, "")
|
||||||
|
SCREEN(0,15, "")
|
||||||
|
SCREEN(0,16, "")
|
||||||
|
DONE ENDIF
|
||||||
|
LATCH(236)
|
||||||
|
ROUTE_CAPTION(238, "Running") ROUTE_ACTIVE(238)
|
||||||
|
PRINT("Resume JL Display")
|
||||||
|
FOLLOW(237)
|
||||||
|
SEQUENCE(237)
|
||||||
|
PARSE("<JL 0 8>") // screen 0 start on line 8
|
||||||
|
PRINT("\n")
|
||||||
|
DELAY(3000)
|
||||||
|
IF(236) FOLLOW(237) ENDIF
|
||||||
|
DONE
|
||||||
|
// ************ End OLED JL Display Track mA Amperage ************** //
|
@ -3,8 +3,9 @@
|
|||||||
|
|
||||||
#include "StringFormatter.h"
|
#include "StringFormatter.h"
|
||||||
|
|
||||||
#define VERSION "5.5.30"
|
#define VERSION "5.5.31"
|
||||||
// 5.5.31 - <JL screen startRow> track status command
|
// 5.5.31 - <JL screen startRow> track status command
|
||||||
|
// - myTrackStatus.example.h added
|
||||||
// - Provide for WiFi false on ESP32
|
// - Provide for WiFi false on ESP32
|
||||||
// 5.5.30 - EXRAIL </> shows why tasks are waiting
|
// 5.5.30 - EXRAIL </> shows why tasks are waiting
|
||||||
// 5.5.29 - Resolved compiler warnings
|
// 5.5.29 - Resolved compiler warnings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user