Greetz all.
I'm trying to modify one of the included screens (Date-Time-Uptime.2004) to make the time display in the two char high numbers like the (CPU Usage Big Nums.2004) displays the CPU percentage. I've got it so that it displays something big, but it seems to be limited to only 3 chars, and doesn't recognize a colon (it displays a ? instead of that). I've tried using the big-# thing with a number of different strings (like the day of the week) and they display letters correctly, but it always seems capped at 3 chars. I'm kinda stumped -- any input would be valued! I've included the code here for reference...
[pre]
rows=4
cols=20
[from00]
from="cc2_timedate.ini"
sec="time#"
opt01="id=@01"
opt02="format=%a %d %b %Y"
[from01]
from="cc2_timedate.ini"
sec="time#"
opt01="id=@02"
opt02="format=%I:%M:%S %p"
[from02]
from="cc2_bigchars.ini"
sec="big-#"
opt01="id_item=@02"
opt02="id1=@03"
opt03="id0=@04"
[screen]
screen_name="Brian Date/Time & Uptime"
options=0
alt_delay=5000
[r00]
options=10
[r00-i00]
id=@01
[r01]
options=10
[r01-i00]
id=@03
[r02]
options=10
[r02-i00]
id=@04
[r03]
options=10
[r03-i00]
string="Uptime: "
[r03-i01]
id=3451264379
I'm trying to modify one of the included screens (Date-Time-Uptime.2004) to make the time display in the two char high numbers like the (CPU Usage Big Nums.2004) displays the CPU percentage. I've got it so that it displays something big, but it seems to be limited to only 3 chars, and doesn't recognize a colon (it displays a ? instead of that). I've tried using the big-# thing with a number of different strings (like the day of the week) and they display letters correctly, but it always seems capped at 3 chars. I'm kinda stumped -- any input would be valued! I've included the code here for reference...
[pre]
rows=4
cols=20
[from00]
from="cc2_timedate.ini"
sec="time#"
opt01="id=@01"
opt02="format=%a %d %b %Y"
[from01]
from="cc2_timedate.ini"
sec="time#"
opt01="id=@02"
opt02="format=%I:%M:%S %p"
[from02]
from="cc2_bigchars.ini"
sec="big-#"
opt01="id_item=@02"
opt02="id1=@03"
opt03="id0=@04"
[screen]
screen_name="Brian Date/Time & Uptime"
options=0
alt_delay=5000
[r00]
options=10
[r00-i00]
id=@01
[r01]
options=10
[r01-i00]
id=@03
[r02]
options=10
[r02-i00]
id=@04
[r03]
options=10
[r03-i00]
string="Uptime: "
[r03-i01]
id=3451264379
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.