Hi !
Let’s start a series of posts using an ESP32 CAM board. I had this one from Amazon Canada.
I choosed this one, because it will avoid me the pain of wiring.
So, 1st test, let’s turn the Flash ON and then OFF.
Let’s start creating a new PlatformIO project, and selecting the right board: AI Thinker ESP-32CAM
Once the project is created our ini file contains the following information:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32cam]
platform = espressif32
board = esp32cam
framework = arduino
And now let’s add some code to make the flash work. And, my only note here is that the Pin is 4.
Full project working demo
Happy coding!
Greetings
El Bruno
Top comments (0)