2016-12-10 18:28:24 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# Arduino core for ESP32 WiFi chip
  
						 
					
						
							
								
									
										
										
										
											2016-10-06 14:36:15 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-01-28 14:15:42 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[](https://travis-ci.org/espressif/arduino-esp32)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Need help or have a question? Join the chat at [](https://gitter.im/espressif/arduino-esp32?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
  
						 
					
						
							
								
									
										
										
										
											2016-12-13 04:12:44 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Contents
  
						 
					
						
							
								
									
										
										
										
											2016-12-10 18:28:24 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Development Status ](#development-status ) 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Installation Instructions ](#installation-instructions ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Decoding Exceptions ](#decoding-exceptions ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Issue/Bug report template ](#issuebug-report-template ) 
						 
					
						
							
								
									
										
										
										
											2017-01-28 14:19:56 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [ESP32Dev Board PINMAP ](#esp32dev-board-pinmap ) 
						 
					
						
							
								
									
										
										
										
											2016-12-10 18:28:24 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Development Status
  
						 
					
						
							
								
									
										
										
										
											2016-12-30 03:00:57 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Most of the framework is implemented. Most noticable is the missing analogWrite. While analogWrite is on it's way, there are a few other options that you can use:
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  16 channels [LEDC ](cores/esp32/esp32-hal-ledc.h ) which is PWM 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  8 channels [SigmaDelta ](cores/esp32/esp32-hal-sigmadelta.h ) which uses SigmaDelta modulation 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  2 channels [DAC ](cores/esp32/esp32-hal-dac.h ) which gives real analog output 
						 
					
						
							
								
									
										
										
										
											2016-10-07 11:32:35 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-01-05 17:59:20 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Installation Instructions
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  Using Arduino IDE 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  + [Instructions for Windows ](docs/arduino-ide/windows.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  + [Instructions for Mac ](docs/arduino-ide/mac.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  + [Instructions for Debian/Ubuntu Linux ](docs/arduino-ide/debian_ubuntu.md )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  + [Instructions for Fedora ](docs/arduino-ide/fedora.md )
							 
						 
					
						
							
								
									
										
										
										
											2017-09-26 11:49:18 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  + [Instructions for openSUSE ](docs/arduino-ide/opensuse.md )
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Using PlatformIO ](docs/platformio.md ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Building with make ](docs/make.md ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Using as ESP-IDF component ](docs/esp-idf_component.md ) 
						 
					
						
							
								
									
										
										
										
											2017-06-02 18:21:54 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-01-05 17:59:20 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#### Decoding exceptions
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								You can use [EspExceptionDecoder ](https://github.com/me-no-dev/EspExceptionDecoder ) to get meaningful call trace.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#### Issue/Bug report template
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as [for reference ](https://github.com/espressif/arduino-esp32/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3A%22for%20reference%22%20 ).
							 
						 
					
						
							
								
									
										
										
										
											2017-01-28 17:11:17 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Finally, if you're sure no one else had the issue, follow the [ISSUE_TEMPLATE ](docs/ISSUE_TEMPLATE.md ) while reporting any issue.
							 
						 
					
						
							
								
									
										
										
										
											2017-01-28 17:11:17 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-09 00:34:28 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-10 18:28:24 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## ESP32Dev Board PINMAP
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-08-17 18:44:01 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-02-05 14:48:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Hint
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Sometimes to program ESP32 via serial you must keep GPIO0 LOW during the programming process