<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — ESP32, can't connect]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1890&amp;type=atom" />
	<updated>2024-12-31T01:49:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1890</id>
		<entry>
			<title type="html"><![CDATA[Re: ESP32, can't connect]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5832#p5832" />
			<content type="html"><![CDATA[<p>I used pins 26 and 27.</p>]]></content>
			<author>
				<name><![CDATA[skeeterweazel]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2955</uri>
			</author>
			<updated>2024-12-31T01:49:29Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5832#p5832</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ESP32, can't connect]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5831#p5831" />
			<content type="html"><![CDATA[<p>What was your solution?</p>]]></content>
			<author>
				<name><![CDATA[TheMrVon]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2968</uri>
			</author>
			<updated>2024-12-30T21:09:34Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5831#p5831</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ESP32, can't connect]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5815#p5815" />
			<content type="html"><![CDATA[<p>I got it figured out. Thx for the tip.</p>]]></content>
			<author>
				<name><![CDATA[skeeterweazel]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2955</uri>
			</author>
			<updated>2024-12-24T04:55:02Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5815#p5815</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ESP32, can't connect]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5814#p5814" />
			<content type="html"><![CDATA[<p>what pin do you suggest?<br />Thx<br />Marty</p>]]></content>
			<author>
				<name><![CDATA[skeeterweazel]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2955</uri>
			</author>
			<updated>2024-12-23T14:49:51Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5814#p5814</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ESP32, can't connect]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5813#p5813" />
			<content type="html"><![CDATA[<p>Don&#039;t use pin 7.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2024-12-23T08:16:30Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5813#p5813</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[ESP32, can't connect]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5806#p5806" />
			<content type="html"><![CDATA[<p>Hello. This is my first try playing with an ESP32. I can&#039;t get it to connect. I can get it to work with a couple sample programs OK. I&#039;m not sure how to trouble shoot it. <br />Board is a Wroom 32D. I&#039;m using the Arduino IDE. I&#039;ve tried all the different boards that can be selected. The 2 that seem to have worked with sample programs are ESP Dev module and&nbsp; ESP32-Wroom DA module.<br />This is program i&#039;m trying to use. I cut out the header to save space here. It isn&#039;t totaly correct for my needs, but i was just trying to get it connect before i worried about that.<br />Hope someone can point me in the right direction.<br />Thanks.<br />Marty</p><div class="codebox"><pre><code>//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// you can enable debug logging to Serial at 115200
//#define REMOTEXY__DEBUGLOG    

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__WIFI_POINT

#include &lt;WiFi.h&gt;

// RemoteXY connection settings 
#define REMOTEXY_WIFI_SSID &quot;RemoteXY&quot;
#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot;
#define REMOTEXY_SERVER_PORT 6377
#define REMOTEXY_ACCESS_PASSWORD &quot;12345678&quot;


#include &lt;RemoteXY.h&gt;

// RemoteXY GUI configuration  
#pragma pack(push, 1)  
uint8_t RemoteXY_CONF[] =   // 69 bytes
  { 255,3,0,0,0,62,0,19,0,0,0,114,101,109,111,116,101,88,89,0,
  8,1,106,200,1,1,3,0,4,21,11,23,176,0,2,26,10,62,134,24,
  24,48,4,1,31,70,87,68,0,31,82,69,86,0,1,65,33,24,24,0,
  1,31,69,45,115,116,111,112,0 };
  
// this structure defines all the variables and events of your control interface 
struct {

    // input variables
  int8_t slider_01; // from 0 to 100
  uint8_t pushSwitch_01; // =1 if state is ON, else =0
  uint8_t button_01; // =1 if button pressed, else =0

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0

} RemoteXY;   
#pragma pack(pop)
 
/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////

#define PIN_PUSHSWITCH_01 7


void setup() 
{
  RemoteXY_Init (); 
  
  pinMode (PIN_PUSHSWITCH_01, OUTPUT);
  
  // TODO you setup code
  
}

void loop() 
{ 
  RemoteXY_Handler ();
  
  digitalWrite(PIN_PUSHSWITCH_01, (RemoteXY.pushSwitch_01==0)?LOW:HIGH);
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay(), use instead RemoteXY_delay() 


}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[skeeterweazel]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2955</uri>
			</author>
			<updated>2024-12-19T02:07:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5806#p5806</id>
		</entry>
</feed>
