Experimentation with GUI-O
-
Hello everyone,
Attached is a description of two distinct applications which coexist in the same remote processor and in the same GUI-O session. ( 2 pages) I tried to use as many GUI-O widgets as possible. Thanks to @kl3m3n who took the time to answer all my questions!
PS: this application was written with Bascom for an Arduino Nano (57600 baud)
Bernard
DATALOGER_METEO_CARDIO_Dessin.pdf
DATALOGER_METEO_CARDIO_DESCRIPTION.pdf -
@Bernard
Here is the GUI-O initialization sequence......@sls 200 @cls @clh @clo @gse COD:0 TSC:39 @guis BGC:#000000 ASR:0.4615 PGF:0 |SORI UID:sori1 HID:sori ORI:2 SEN:0 // PAGE 1 // |IM UID:im0 X:50 Y:50 W:100 H:100 IP:'fondecran7.jpg' OPA:1 PLS:0 SCM:1 ACT:0 |CB UID:cb_T X:18 Y:30 W:19 BGC:#6E7274 FGC:#81DB64 SFGC:#FD1B28 HAW:2 HAR:2 LVAL:-20 HVAL:60 UD:2 FSZ:5 FFA:\"font6\" BTH:1.5 YTC:3 SHN:1 SHT:1\r\n |LB UID:lb_Vt X:18 Y:20 W:20 FGC:#FB0001 FSZ:5 FFA:\"font8\" TXT:\"00.00\"\r\n |LB UID:lb_T X:18 Y:45 W:20 FGC:#FB0001 FSZ:5 FFA:\"font2\" TXT:\"TEMP\"\r\n |LB UID:tmp_t X:15 Y:35 FGC:#42ECF5 FSZ:5 FFA:\"font6\" TXT:\"Cons. Temp\ ALP:1\r\n |BT UID:bt_ca X:18 Y:28 W:10 H:10 OPA:0.01\r\n |SI UID:Si_cmr X:18 Y:30 W:1.3 VIS:0 BGC:#FF0003\r\n |SI UID:Si_cmb X:18 Y:30 W:1 VIS:0\r\n |LB UID:tmp_r X:17 Y:40 FFA:\"font6\" TXT:\"00.00\" ALP:1\r\n |CB UID:cb_H X:50 Y:30 W:19 BGC:#6E7274 FGC:#81DB64 SFGC:#FD1B28 HAW:2 HAR:2 VAL:-20 LVAL:10 UD:2 FSZ:5 FFA:\"font6\" BTH:1.5 YTC:3 SHN:1 SHT:1\r\n |LB UID:lb_H X:50 Y:45 W:20 FGC:#00F7FF FSZ:5 FFA:\"font2\" TXT:\"HUM\"\r\n |LB UID:lb_Vh X:50 Y:20 W:20 FGC:#00F7FF FSZ:5 FFA:\"font8\" TXT:\"00.00\"\r\n |CB UID:cb_P X:83 Y:30 W:19 BGC:#6E7274 FGC:#81DB64 SFGC:#FD1B28 HAW:2 HAR:2 LVAL:600 HVAL:1050 UD:2 FSZ:5 FFA:\"font6\" BTH:1.5 YTC:3 SHN:1 SHT:1\r\n |LB UID:lb_P X:84 Y:45 W:20 FGC:#FFFF00 FSZ:5 FFA:\"font2\" TXT:\"PRESS.\"\r\n |LB UID:lb_Vp X:83 Y:20 W:20 FGC:#FFFF00 FSZ:5 FFA:\"font8\" TXT:\"00.00\"\r\n |LB UID:lbalt X:83 Y:35 FGC:#FFFFFF FSZ:3.8 FFA:\"font7\" TXT:\"Altitude\"\r\n |LB UID:lb_Va X:83 Y:39 W:20 FGC:#FFFF00 FSZ:5 FFA:\"font6\" TXT:\"---\"\r\n |CH UID:ch0 X:50 Y:75 W:50 H:50 BGC:#3A4456 SHE:1 FSZ:2.5 RAD:1 CHT:2 BSZ:120 CHN:\"'MESURE HUM / TEMP.\" XTC:12 YTC:6 XMA:2 YMA:4 XHI:75 VLP:2\r\n |BT UID:bt_1 X:18 Y:65 W:12 H:12 FSZ:5 TXT:\"1 Sec\"\r\n |SI UID:Si_1 X:8 Y:65 W:3.5 BGC:#FF0003\r\n |BT UID:bt_10 X:18 Y:79 W:12 H:12 FSZ:5 TXT:\"10 Sec\"\r\n |SI UID:Si_10 X:8 Y:79 W:3.5 BGC:#FF0003\r\n |LB UID:lb_Si10 X:8 Y:80 W:3.5 VIS:0 FGC:#FB0001 SHE:1 FSZ:5 FFA:\"font2\ TXT:\"0\"\r\n |BT UID:bt_60 X:18 Y:93 W:12 H:12 FSZ:5 TXT:\"1 Min\"\r\n |SI UID:Si_60 X:8 Y:93 W:3.5 BGC:#FF0003\r\n |LB UID:lb_Si60 X:8 Y:93 W:6 VIS:0 FGC:#FB0001 SHE:1 FSZ:5 FFA:\"font2\ TXT:\"0\"\r\n |TI UID:f_name X:86 Y:54 W:19 BGC:#C7FFFC FGC:#4C4C4C SHC:#F3FF0000 FSZ:7 FFA:\"font6\" RAD:1 BTH:0.2 TXT:\"file.txt\"\r\n |EXTF UID:extf1 HID:extf FNA:F_name\r\n |BT UID:bt_St X:86 Y:66 W:20 H:12 FGC:#00FF00 SHC:#99000000 FSZ:5 TXT:\"Start Record\"\r\n |BT UID:bt_Of X:86 Y:79 W:20 H:12 FSZ:5 TXT:\"Open File\"\r\n |BT UID:bt_Part X:81 Y:93 W:10 H:12 FSZ:5 TXT:\"Share\"\r\n |BT UID:bt_Del X:91 Y:93 W:9 H:12 FSZ:5 TXT:\"Delete\"\r\n |RTC UID:rtc1 HID:rtc RTCR:1 RTCF:yyyy/mm/dd HH:mm:ss\r\n |LB UID:datum X:32 Y:6 FGC:#42ECF5 SHE:1 FSZ:5 FFA:\"font6\" TXT:\"DAT\ ALP:1\r\n |LB UID:ura X:64 Y:6 FGC:#42ECF5 FSZ:5 FFA:\"font6\" TXT:\"TIM\" ALP:1\r\n |LB UID:lbguio X:64 Y:12 FGC:#FFFFFF FSZ:3 FFA:\"font7\" TXT:\"GUI_O\ ALP:1\r\n |LB UID:lbguiov X:64 Y:12 FGC:#00FFFFFF FSZ:3 FFA:\"font6\ TXT:\"https://www.gui-o.com\" URL:1 ALP:1\r\n |LB UID:lbesp X:33 Y:12 FGC:#FFFFFF FSZ:3.5 FFA:\"font7\" TXT:\"wiffi\" ALP:1\r\n |LB UID:lbespv X:33 Y:12 FGC:#00FFFFFF FSZ:2 FFA:\"font6\ TXT:\"https://randomnerdtutorials.com/esp8266-pinout-reference-gpios\ URL:1\r\n |BT UID:bt_stp X:18 Y:53 W:12 H:7 FSZ:5 TXT:\"Stop/St\"\r\n |LB UID:lblat X:32 Y:40 FGC:#FFFFFF FSZ:3.8 FFA:\"font7\" TXT:\"Lat N\" LALP:1\r\n |LB UID:lblatv X:32 Y:45 FGC:#42ECF5 FSZ:4.5 FFA:\"font6\" TXT:\"--\" ALP:1\r\n |LB UID:lblng X:63 Y:40 FGC:#FFFFFF SHE:1 FSZ:3.8 FFA:\"font7\" TXT:\"Long E\ LALP:1\r\n |LB UID:lblngv X:64 Y:45 FGC:#42ECF5 SHE:1 FSZ:4.5 FFA:\"font6\" TXT:\"--\" ALP:1\r\n |LB UID:lbggps X:64 Y:44 FGC:#00FFFFFF SHE:1 FSZ:3 FFA:\"font7\ TXT:\"https://www.coordonnees-gps.fr/\" URL:1 ALP:1\r\n |BAT UID:bat1 HID:bat SRAT:0.05\r\n |LB UID:lbbat X:48 Y:35 FGC:#FFFFFF SHE:1 FSZ:3.8 FFA:\"font7\" TXT:\"Batt %\" ALP:1\r\n |LB UID:lbbatv X:50 Y:39 W:15 FGC:#00F7FF SHE:1 FSZ:5 FFA:\"font6\" TXT:\"00.00\"\r\n |TON UID:ton1 HID:ton EDUR:1000\r\n |POS UID:pos1 HID:pos\r\n |BST UID:btsu X:11 Y:45 W:2.5 H:3 ROT:330 BGC:#FF0000\r\n |BST UID:btsd X:25 Y:45 W:2.5 H:3 ROT:30 BGC:#0000EC\r\n |NI UID:ct_in X:50 Y:52 VIS:0 OPA:0.01 BGC:#FD1013 FGC:#000000 FSZ:5 RAD:1 BTH:0.5\r\n |BT UID:bt_fm X:83 Y:30 W:10 H:10 OPA:0.01\r\n |FLA UID:fla0 X:50 Y:95 W:50 H:10 OPA:0.01 CTRS:2\r\n // Page 2 // |IM UID:imx X:17 Y:50 W:35 H:100 ACT:0 IP:\"Cardio.jpg\" SCM:0 SCI:1\r\n |CH UID:ch2 X:65 Y:75 W:72 H:50 FGC:#900000 FSZ:4 FFA:\"font6\" RAD:0 CHT:2 BSZ:200 BMA:0.03 CHN:\"ELECTRO CARDIOGRAM\" LT:0.15 XTC:10 YTC:8 YMA:8 YHI:5 DRA:0 SCI:1\r\n |CH UID:ch1 X:65 Y:25 W:72 H:50 FGC:#900000 SHE:1 FSZ:2.5 RAD:0 BTH:0.1 CHT:2 BSZ:200 CHN:\"MESURES\" LT:0.15 XTC:10 YTC:8 YMA:8 XHI:75 VLP:2 SCI:1\r\n |LB UID:lbpulse X:86 Y:23 FGC:#000000 SHE:1 FSZ:16 FFA:\"font6\" TXT:\"----\" ALP:1 SCI:1\r\n |LB UID:lbpname X:85 Y:10 FGC:#000000 SHE:1 FSZ:4 FFA:\"font8\" TXT:\"PULSE BMP\" ALP:1 SCI:1\r\n |LB UID:lbname X:2 Y:92 FGC:#000000 SHE:1 FSZ:10 FFA:\"font7\" TXT:\"ECG\" ALP:1 SCI:1\r\n |BT UID:btsound X:7 Y:21 W:10 H:10 BGC:#808B96 SBGC:#808B96 FGC:#FFFFFF SHE:1 SHVR:0.8 SHC:#404040 FSZ:6 FFA:\"font6\" TXT:\"Sound\" BTH:0 SVAL:\"Stop\" SCI:1\r\n |BT UID:btsim X:7 Y:8 W:10 H:10 BGC:#808B96 SBGC:#808B96 FGC:#FFFFFF SHE:1 SHVR:0.8 SHC:#404040 FSZ:6 FFA:\"font6\" TXT:\"Simulation\" BTH:0 SCI:1\r\n |BT UID:btach X:7 Y:34 W:10 H:10 BGC:#808B96 SBGC:#808B96 FGC:#FFFFFF SHE:1 SHVR:0.8 SHC:#404040 FSZ:6 FFA:\"font6\" TXT:\"Tachicardie\" BTH:0 SCI:1\r\n |BT UID:bttrg X:7 Y:62 W:10 H:10 BGC:#808B96 SBGC:#808B96 FGC:#FFFFFF SHE:1 SHVR:0.8 SHC:#404040 FSZ:6 FFA:\"font6\" TXT:\"Triger Aut/Man.\" BTH:0 SCI:1\r\n |LB UID:pttxt X:65 Y:10 W:20 FGC:#000000 SHE:1 FSZ:4 FFA:\"font8\" TXT:\"Pulse Time\" SCI:1\r\n |LB UID:ptim_v X:65 Y:15 W:8 FGC:#404040 FSZ:6 FFA:\"font2\" SCI:1\r\n |LB UID:tacxt X:45 Y:10 W:20 FGC:#000000 SHE:1 FSZ:4 FFA:\"font8\" TXT:\"TACHYCARDIE %\" SCI:1\r\n |LB UID:tach_v X:45 Y:15 W:10 FGC:#FC0000 FSZ:6 FFA:\"font2\" SCI:1\r\n |DRB UID:drb0 X:21 Y:8 W:15 H:10 BGC:#4B4C4C FGC:#FFFFFF SHE:1 FSZ:3 FFA:\"font2\" DAL:\"60,50,90,12\" SCI:1\r\n |SL UID:sl0 X:20 Y:75 W:16 ROT:270 BGC:#4C4C4D FGC:#0000FF SFGC:#FF2600 HAW:3 VAL:799 LVAL:200 HVAL:999 SCI:1\r\n |LB UID:trig_v X:20 Y:50 W:8 FGC:#00BE00 FSZ:8 FFA:\"font6\" TXT:\"....\" SCI:1\r\n |BT UID:bt_fc X:7 Y:78 W:10 H:10 OPA:0.01 SCI:1\r\n |FLA UID:fla1 X:50 Y:95 W:50 H:10 OPA:0.01 CTRS:2 SCI:1\r\n @hls 200 code_text
-
@Bernard Very nice!
Thank you for sharing!
BTW, was your wife happy with your answer?
Regards,
kl3m3n