Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Perf Plugin and Degrees Error

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
SpikedCola
Posts: 12
Joined: April 27th, 2007, 5:32 am

Perf Plugin and Degrees Error

Post by SpikedCola »

Just for reference, these are the lines Im using on my 2x16 HD44780 display:

Code: Select all

$MemFreeMB [$dll(perf,1,1x7#u#102#5#0#100#\Processor(_Total)\% Processor Time,Test1)]
$dll(speedfan,2,7,0)? | $dll(speedfan,2,8,0)? | $CPUUsage%%
However, when I use the Perf plugin, my ? sign changes to the first bar on the graph. So lets say the bar is displaying |. Where it would normally say ?, I get a |. How can I make it display degrees again? If I remove the "$dll(perf,1,1x7#u#102#5#0#100#\Processor(_Total)\% Processor Time,Test1)" and restart LCDSmartie, it works fine. Also, in the virtual LCD thinger, when you first open LCDSmartie, it shows the ? sign properly.

PS. Im using LCDSmartie 5.4
SpikedCola
Posts: 12
Joined: April 27th, 2007, 5:32 am

Post by SpikedCola »

Solved my own problem by using $Chr(223)
mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

I think the degree symbol (on the Misc tab) is inserted as a custom character (could be wrong though!) which might explain why it appears as the bar whenever you have a $bar on screen.

I also use $Chr(223) as the degree symbol, after locating it in the LCD's character table from the datasheet.
SpikedCola
Posts: 12
Joined: April 27th, 2007, 5:32 am

Post by SpikedCola »

Nope, you're right - the Degree Sign from the misc tab is the same as going alt+248 or alt+0176
Post Reply