<?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=871&amp;type=atom" />
	<updated>2020-01-22T19:03:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=871</id>
		<entry>
			<title type="html"><![CDATA[Re: Не компилируется скетч]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2500#p2500" />
			<content type="html"><![CDATA[<p>Ошибка указывает на то что у вас нет переменной RemoteXY.onlineGraph_1_var1</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2020-01-22T19:03:41Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2500#p2500</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Не компилируется скетч]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2492#p2492" />
			<content type="html"><![CDATA[<p>Доброго времени суток, я только начал познавать ардуино и RemoteXY. вот сразу ничего не получается подскажите пожалуйста в чем ошибка.</p><p>#define REMOTEXY_MODE__ESP8266WIFI_LIB_POINT<br />#include &lt;ESP8266WiFi.h&gt;</p><p>#include &lt;RemoteXY.h&gt;</p><p>// настройки соединения <br />#define REMOTEXY_WIFI_SSID &quot;RemoteXY&quot;<br />#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot;<br />#define REMOTEXY_SERVER_PORT 6377</p><br /><p>// конфигурация интерфейса&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =<br />&nbsp; { 255,0,0,4,0,11,0,8,13,0,<br />&nbsp; 68,17,8,6,20,20,8,36 };<br />&nbsp; <br />// структура определяет все переменные вашего интерфейса управления <br />struct {</p><p>&nbsp; &nbsp; // output variable<br />&nbsp; float onlineGraph_1;</p><p>&nbsp; &nbsp; // other variable<br />&nbsp; uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0 </p><p>} RemoteXY;<br />#pragma pack(pop)</p><p>/////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />/////////////////////////////////////////////</p><p>const int analogIn = A0;<br />float RemoteXYonlineGraph_1_var1 = 0;<br />void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; pinMode(A0,INPUT);<br />&nbsp; RemoteXY.onlineGraph_1;<br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY.onlineGraph_1_var1 = float (analogRead(A0)) / 204.8;<br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // используйте структуру RemoteXY для передачи данных</p><br /><p>}<br />project:57:15: error: expected initializer before &#039;.&#039; token</p><p> float RemoteXY.onlineGraph_1_var1 = 0;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />project:69:12: error: &#039;struct&lt;anonymous&gt;&#039; has no member named &#039;onlineGraph_1_var1&#039;</p><p>&nbsp; &nbsp;RemoteXY.onlineGraph_1_var1 = float (analogRead(A0)) / 204.8;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />exit status 1<br />expected initializer before &#039;.&#039; token</p>]]></content>
			<author>
				<name><![CDATA[Aleksndr]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1167</uri>
			</author>
			<updated>2020-01-17T18:03:41Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2492#p2492</id>
		</entry>
</feed>
