<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Как сохранить float значение в EEPROM на Arduino? - Arduino				            </title>
            <link>https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/</link>
            <description>Обсуждение вопросов, посвященных программированию микроконтроллеров, разработке электроники и не только.</description>
            <language>ru-RU</language>
            <lastBuildDate>Fri, 09 Oct 2026 17:20:43 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>НА: Как сохранить float значение в EEPROM на Arduino?</title>
                        <link>https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3663</link>
                        <pubDate>Fri, 04 Jul 2025 09:13:02 +0000</pubDate>
                        <description><![CDATA[Всем большое спасибо, сделал через put(). Все работает )]]></description>
                        <content:encoded><![CDATA[<p>Всем большое спасибо, сделал через put(). Все работает )</p>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/arduino/">Arduino</category>                        <dc:creator>Midey</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3663</guid>
                    </item>
				                    <item>
                        <title>НА: Как сохранить float значение в EEPROM на Arduino?</title>
                        <link>https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3662</link>
                        <pubDate>Fri, 04 Jul 2025 03:28:26 +0000</pubDate>
                        <description><![CDATA[Я просто создаю структуру с набором переменных и пишу её.]]></description>
                        <content:encoded><![CDATA[<p>Я просто создаю структуру с набором переменных и пишу её.</p>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/arduino/">Arduino</category>                        <dc:creator>Эдуард</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3662</guid>
                    </item>
				                    <item>
                        <title>НА: Как сохранить float значение в EEPROM на Arduino?</title>
                        <link>https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3661</link>
                        <pubDate>Thu, 03 Jul 2025 19:11:16 +0000</pubDate>
                        <description><![CDATA[Точно, думаю через EEPROM.put() будет правильнее.]]></description>
                        <content:encoded><![CDATA[<p>Точно, думаю через <strong>EEPROM.put()</strong> будет правильнее.</p>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/arduino/">Arduino</category>                        <dc:creator>TQFP</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3661</guid>
                    </item>
				                    <item>
                        <title>НА: Как сохранить float значение в EEPROM на Arduino?</title>
                        <link>https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3660</link>
                        <pubDate>Thu, 03 Jul 2025 18:51:11 +0000</pubDate>
                        <description><![CDATA[Либо через EEPROM.put():
float array;

for (int i = 0; i &lt; 100; i++)
{
    EEPROM.put(address, array);
    address += 4;
}
В целом, EEPROM.put() поддерживает разные типы д...]]></description>
                        <content:encoded><![CDATA[<p>Либо через <em>EEPROM.put()</em>:</p>
<pre contenteditable="false">float array;

for (int i = 0; i &lt; 100; i++)
{
    EEPROM.put(address, array);
    address += 4;
}</pre>
<p>В целом, <em>EEPROM.put()</em> поддерживает разные типы данных, в том числе структуры и массивы (насколько я помню).</p>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/arduino/">Arduino</category>                        <dc:creator>Aveal MT</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3660</guid>
                    </item>
				                    <item>
                        <title>НА: Как сохранить float значение в EEPROM на Arduino?</title>
                        <link>https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3659</link>
                        <pubDate>Thu, 03 Jul 2025 16:59:35 +0000</pubDate>
                        <description><![CDATA[Приветствую, через преобразование указателей можно, чуть позже могу набросать пример.]]></description>
                        <content:encoded><![CDATA[<p>Приветствую, через преобразование указателей можно, чуть позже могу набросать пример.</p>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/arduino/">Arduino</category>                        <dc:creator>TQFP</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3659</guid>
                    </item>
				                    <item>
                        <title>Как сохранить float значение в EEPROM на Arduino?</title>
                        <link>https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3657</link>
                        <pubDate>Thu, 03 Jul 2025 08:47:18 +0000</pubDate>
                        <description><![CDATA[Здравствуйте, нужно сохранить массив в EEPROM, пробовал раньше для целочисленных значений, все работало:
uint8_t array;

for (int i = 0; i &lt; 100; i++)
{
    EEPROM.write(address...]]></description>
                        <content:encoded><![CDATA[<p>Здравствуйте, нужно сохранить массив в EEPROM, пробовал раньше для целочисленных значений, все работало:</p>
<pre contenteditable="false">uint8_t array;

for (int i = 0; i &lt; 100; i++)
{
    EEPROM.write(address, array);
    address++;
}</pre>
<p>То есть просто записывал по одному байту все элементы массива. Но теперь у меня массив со значениями float, как быть в таком случае?</p>
<pre contenteditable="false">float array;

for (int i = 0; i &lt; 100; i++)
{
    // EEPROM.write(???);
    address++;
}</pre>]]></content:encoded>
						                            <category domain="https://microtechnics.ru/community/arduino/">Arduino</category>                        <dc:creator>Midey</dc:creator>
                        <guid isPermaLink="true">https://microtechnics.ru/community/arduino/kak-sohranit-float-znachenie-v-eeprom-na-arduino/#post-3657</guid>
                    </item>
							        </channel>
        </rss>
		