<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Работа с многостраничными приложениями]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1437&amp;type=atom" />
	<updated>2022-01-05T17:46:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1437</id>
		<entry>
			<title type="html"><![CDATA[Re: Работа с многостраничными приложениями]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4439#p4439" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Guillaume wrote:</cite><blockquote><p>I don&#039;t know if I correctly understood your problem, but I often use this instead of Select :</p><p><span class="postimg"><img src="https://i.ibb.co/WxDdsbg/Sans-titre.png" alt="https://i.ibb.co/WxDdsbg/Sans-titre.png" /></span></p><p>It&#039;s a Text String and 2 buttons. Change the text of the Text String when you press the buttons. Then you can have many values and it will always use the same amount of memory (less memory than Pages or Select + Labels)</p></blockquote></div><p>Спасибо за идею! Для русскоязычных пользователей поясню от себя: двумя кнопками выбирается индекс (увеличивается или уменьшается на 1), по индексу в текстовом поле выводится название (в моем случае локомотива).</p>]]></content>
			<author>
				<name><![CDATA[nikolaybudrica]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1228</uri>
			</author>
			<updated>2022-01-05T17:46:43Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4439#p4439</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Работа с многостраничными приложениями]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4438#p4438" />
			<content type="html"><![CDATA[<p>I don&#039;t know if I correctly understood your problem, but I often use this instead of Select :</p><p><span class="postimg"><img src="https://i.ibb.co/WxDdsbg/Sans-titre.png" alt="https://i.ibb.co/WxDdsbg/Sans-titre.png" /></span></p><p>It&#039;s a Text String and 2 buttons. Change the text of the Text String when you press the buttons. Then you can have many values and it will always use the same amount of memory (less memory than Pages or Select + Labels)</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2022-01-05T16:49:06Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4438#p4438</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Работа с многостраничными приложениями]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4436#p4436" />
			<content type="html"><![CDATA[<p>Дорогой мой англоязычный друг. Специально для тебя немного расскажу о себе: зарабатываю на жизнь разработкой встроенного софта и &quot;дизайнов&quot; для ПЛИС (developer embedded software &amp; FPGA designer). Данную утилиту использую в бытовых целях: поиграть с детьми в радиоуправляемые игрушки.<br />Среди моих проектов есть TrainController (<a target="_blank" href="https://remotexy.com/ru/editor/2a9cb11a35aba5b9dccf8c0d7b154e09/">https://remotexy.com/ru/editor/2a9cb11a … d7b154e09/</a>), так вот в нем есть идея управления по протоколу подобному DCC (&quot;DCC Train&quot; for google). В нем все элементы управления одинаковы для всех страниц, а станицы служат индикатором выбора локомотива. Так вот как мне передать в МК информацию к какому локомотиву переделается команда? Элементы &quot;select&quot; + &quot;label&quot; Занимают больше памяти нежели страницы. А МК я хочу использовать из своих старых запасов (ATmega8L). И стремлюсь экономить каждый байт памяти.<br />PS. Проекты Lego Car (<a target="_blank" href="https://remotexy.com/ru/editor/21206e1d112d7d27c685f59b5ee168f3/">https://remotexy.com/ru/editor/21206e1d … b5ee168f3/</a>) и CarController: (<a target="_blank" href="https://remotexy.com/ru/editor/751d6db6fe97d7c23dfcfdd5b25d8fb0/">https://remotexy.com/ru/editor/751d6db6 … 5b25d8fb0/</a>) втиснулись в ATmega88. Пришлось долго оптимизировать код.</p>]]></content>
			<author>
				<name><![CDATA[nikolaybudrica]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1228</uri>
			</author>
			<updated>2022-01-05T09:24:37Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4436#p4436</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Работа с многостраничными приложениями]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4433#p4433" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>nikolaybudrica wrote:</cite><blockquote><p>but this BEEES out the extra memory, which can be just a butt.</p></blockquote></div><p>&nbsp; <br />Ahh... Google Translate... so funny <img src="https://forum.remotexy.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Every single element will have it&#039;s own variable... thus no need for the program to know the page the element is on. Your code should be able to perfom the needed action based on the tasked elements variable.&nbsp; Even the lowly UNO should be able to handle a couple of pages of elements, let alone an ESP-01, ESP8266, ESP32 and so on.</p>]]></content>
			<author>
				<name><![CDATA[Gunner]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1840</uri>
			</author>
			<updated>2022-01-04T01:03:47Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4433#p4433</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Работа с многостраничными приложениями]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4426#p4426" />
			<content type="html"><![CDATA[<p>Например: есть элементы интерфейса для всех страниц, а есть только для конкретных, и обработчики событий общих элементов должны знать для какой страницы выполняются. Разные параметры передаются в функцию - как вариант применения.<br />Конечно, можно продублировать на каждой странице элементы интерфейса, но это ОТКУШИВАЕТ лишнюю память, которой бывает ну просто в притык.</p>]]></content>
			<author>
				<name><![CDATA[nikolaybudrica]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1228</uri>
			</author>
			<updated>2021-12-31T12:23:23Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4426#p4426</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Работа с многостраничными приложениями]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4425#p4425" />
			<content type="html"><![CDATA[<p>Сейчас нет возможности передать номер отображаемой страницы в контроллер. <br />Скажите, почему появилась такая необходимость?</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-12-31T06:22:59Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4425#p4425</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Работа с многостраничными приложениями]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4424#p4424" />
			<content type="html"><![CDATA[<p>Создаю многостраничные приложения. Столкнулся с необходимостью получать в МК индекс активной страницы. В существующей реализации данная возможность, как я понимаю, не предусмотрена. А если возможно то как?</p>]]></content>
			<author>
				<name><![CDATA[nikolaybudrica]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1228</uri>
			</author>
			<updated>2021-12-30T16:45:46Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4424#p4424</id>
		</entry>
</feed>
