WiFi Examples: Load SSID & password from a common local.h file instead
of coding into program
This commit is contained in:
		
							parent
							
								
									1b0124cf05
								
							
						
					
					
						commit
						f0db6f2b98
					
				
					 5 changed files with 22 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -20,9 +20,9 @@
 | 
			
		|||
#define WEB_PORT 80
 | 
			
		||||
#define WEB_URL "http://chainxor.org/"
 | 
			
		||||
 | 
			
		||||
/* FILL THESE IN!!!!!!!!!! */
 | 
			
		||||
#define WIFI_SSID "SSID Name Here"
 | 
			
		||||
#define WIFI_PASS "Wifi Password Here"
 | 
			
		||||
#if !defined(WIFI_SSID) || !defined(WIFI_PASS)
 | 
			
		||||
#error "Please define macros WIFI_SSID & WIFI_PASS (here, or better in a local.h file at root level or in program dir."
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void http_get_task(void *pvParameters)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue