Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Anyway, the "private deprecation" error is cause LCDs used to have Public and Private displays. And to be honest... I have no idea why I was writing anything to Private text, ever. I deleted the lines of code entirely and ran it again in a test environment, and it's working now, so... I dunno. XD Whatever. It works again!
Program(64,12): Warning: 'IMyTextPanel.WritePrivateText(string, bool)' is obsolete: 'LCD private text is deprecated'
Program105,8): Warning: 'IMyTextPanel.WritePrivateText(string, bool)' is obsolete: 'LCD private text is deprecated'
It might be a simple fix, but I'm not very familiar with coding. The only thing I've edited in the script is the two instances where the name of the display is written - I've exchanged it with the name of my own display.
1) Help newbies understand how to use this script; write "write your LCD name here" instead of "Val.batt1".
2) you can count batteries automatically, use "blocks.Count" so user don't need to change the Constant when the add/remove batteries.
Thanks for sharing the script! :)