<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[forum.rcl-radio.ru &mdash; Прошивка STM32]]></title>
		<link>http://forum.rcl-radio.ru/viewtopic.php?id=105</link>
		<atom:link href="http://forum.rcl-radio.ru/extern.php?action=feed&amp;tid=105&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Прошивка STM32».]]></description>
		<lastBuildDate>Sat, 06 Apr 2024 19:18:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10059#p10059</link>
			<description><![CDATA[<p>Хорошо, спасибо что помогли !!!</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Sat, 06 Apr 2024 19:18:37 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10059#p10059</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10058#p10058</link>
			<description><![CDATA[<p>Проект старый, я даже не помню что да как там работает.</p>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Sat, 06 Apr 2024 15:34:20 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10058#p10058</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10057#p10057</link>
			<description><![CDATA[<p>А в этом модуле ещё есть режим TF - карты, его можно добавить в меню ?</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Sat, 06 Apr 2024 15:31:33 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10057#p10057</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10056#p10056</link>
			<description><![CDATA[<p>str.substring(a+0,a+16);</p><p>0 - это начало строки<br />16 - конец строки</p><div class="quotebox"><blockquote><p>в начале печатается MF+ ,/ затем название папки и /</p></blockquote></div><p>укажите начало строки с номера буквы начала названия трека, а конец строки с номера когда название трека заканчивается</p><p>MF+/LEERIT~1&nbsp; &nbsp;/02-STO~1MP3</p><p>str.substring(a+15,a+26);</p>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Sat, 06 Apr 2024 03:47:33 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10056#p10056</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10055#p10055</link>
			<description><![CDATA[<p>Текст появился, спасибо за Ваш труд, но есть один нюанс в начале печатается MF+ ,/ затем название папки и /название трека уже не помещается . Можно ли сделать бегущую строку ( скроллинг ) потому что при переключении на следующий трек на экране ничего не меняется так как название папки одно и тоже а название&nbsp; трека не&nbsp; умещается. Заранее благодарен !!!</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Fri, 05 Apr 2024 17:09:10 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10055#p10055</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10053#p10053</link>
			<description><![CDATA[<div class="codebox"><pre><code> #include &lt;Arduino.h&gt;
#include &lt;U8x8lib.h&gt;

U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);           
//U8X8_SSD1306_128X64_NONAME_SW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE); 



int a,usb,trek,trek_time,trek_all,trek_off,blu_sos,vol;
String str, text_name;
unsigned long times,times0;
bool pp,w=1,w0;

 a = str.indexOf(&quot;MF+&quot;);if(a&gt;=0){text_name = str.substring(a+0,a+16);}// название трека
  u8x8.setCursor(0,7);u8x8.print(text_name);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Fri, 05 Apr 2024 09:47:43 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10053#p10053</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10051#p10051</link>
			<description><![CDATA[<p>Если делать так :&nbsp; #include &lt;Arduino.h&gt;<br />#include &lt;U8x8lib.h&gt;</p><p>U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />//U8X8_SSD1306_128X64_NONAME_SW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);&nbsp; </p><p>String str;</p><p>int a,usb,trek,trek_time,trek_all,trek_off,blu_sos,vol,String str, text_name;<br />unsigned long times,times0;<br />bool pp,w=1,w0;</p><p>и так :&nbsp; a = str.indexOf(&quot;MF+&quot;);if(a&gt;=0){text_name = str.substring(a+0,a+16);}// название трека<br />&nbsp; u8x8.setCursor(0,7);u8x8.print(text_name);</p><p>то Arduino IDE ругается :&nbsp; Не используется: C:\Users\ттт\Documents\Arduino\libraries\SPI<br />exit status 1<br />expected initializer before &#039;str&#039;</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Thu, 04 Apr 2024 18:54:58 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10051#p10051</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10050#p10050</link>
			<description><![CDATA[<p>создание переменной String text_name лучше перенести в</p><p>String str, text_name;</p><br /><br /><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a = str.indexOf(&quot;TS+02&quot;);if(a&gt;=0){blu_sos=2;} // блютус воспроизводиться<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a = str.indexOf(&quot;QA+&quot;);if(a&gt;=0){vol = str.substring(a+3,a+5).toInt();}//vol<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a = str.indexOf(&quot;MF+&quot;);if(a&gt;=0){text_name = str.substring(a+0,a+16);}// название трека<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; u8x8.setCursor(0,7);u8x8.print(text_name);</p>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Thu, 04 Apr 2024 15:51:30 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10050#p10050</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10049#p10049</link>
			<description><![CDATA[<p>M1+00000002<br />M2+00000008<br />MT+00000190<br />MK+00000000<br />MF+/LEERIT~1&nbsp; &nbsp;/02-STO~1MP3</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Thu, 04 Apr 2024 15:12:23 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10049#p10049</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10048#p10048</link>
			<description><![CDATA[<p>Опубликуйте вывод монитора порта</p>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Wed, 03 Apr 2024 23:58:22 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10048#p10048</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10047#p10047</link>
			<description><![CDATA[<p>Сделал так : a = str.indexOf(&quot;TS+02&quot;);if(a&gt;=0){blu_sos=2;} // блютус воспроизводиться<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a = str.indexOf(&quot;QA+&quot;);if(a&gt;=0){vol = str.substring(a+3,a+5).toInt();}//vol<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a = str.indexOf(&quot;MF+&quot;);if(a&gt;=0){String text_name = str.substring(a+0,a+16);}// название трека<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; u8x8.setCursor(0,7);u8x8.print(text_name);u8x8.print(&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;);</p><p>на экране пусто, только при переключении трека загорается внизу на долю секунды (0) и всё.<br />Видимо нужно что-то ещё добавить или я не прав. В мониторе порта есть информация о треке.</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Wed, 03 Apr 2024 18:07:31 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10047#p10047</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10046#p10046</link>
			<description><![CDATA[<p>Пример:</p><p>a = str.indexOf(&quot;AT+MF&quot;);</p><p>Указываете начало текста а+0<br />Конец текста а+16 </p><p>String text_name = str.substring(a+0,a+16);</p><p>text_name - текст выводите на дисплей</p>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Wed, 03 Apr 2024 01:38:59 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10046#p10046</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10045#p10045</link>
			<description><![CDATA[<p>У меня все названия на английском поэтому мне кириллица и не нужна. Тогда можно сделать на английском ?</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Tue, 02 Apr 2024 18:54:06 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10045#p10045</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10043#p10043</link>
			<description><![CDATA[<p>Можно, но я не стал это делать, потому что текст часто транслируется на кириллице. Поэтому в скетче нужно подключать русский шрифт и выводить его на дисплей, а это не так просто, тем более он сменяется периодически анг. текстом. Нужно определять анг или русский текст, подставлять нужный шрифт.</p>]]></description>
			<author><![CDATA[null@example.com (liman324)]]></author>
			<pubDate>Tue, 02 Apr 2024 15:51:41 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10043#p10043</guid>
		</item>
		<item>
			<title><![CDATA[Re: Прошивка STM32]]></title>
			<link>http://forum.rcl-radio.ru/viewtopic.php?pid=10042#p10042</link>
			<description><![CDATA[<p>Не совсем понятно можно вывести на экран&nbsp; название композиции или нет ?</p>]]></description>
			<author><![CDATA[null@example.com (vadim_ilin)]]></author>
			<pubDate>Tue, 02 Apr 2024 15:39:16 +0000</pubDate>
			<guid>http://forum.rcl-radio.ru/viewtopic.php?pid=10042#p10042</guid>
		</item>
	</channel>
</rss>
