-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use ESP32 with ROS2 and platformio. #1
Comments
You may change
into the pin you connect the LED, say, 4.
However, I would suggest you install vscode on your windows and develop remotely to your rpi. I wrote a wiki on this. I believe this is the better way for your project. You may fork my repos to create your forks. You will learn the github/vscode/platformio workflow. I know there will be a lot to learn on this. It will pay off and give you good results. You may start with the Blink example. It is the "hello world" for micro-controller. It should be run when we get a new board. https://github.com/hippo5329/Blink-platformio In summary, this is my suggestion,
vscode on windows --> rpi4 --> esp32
Once you get familiar with this work flow, you will work better then ever. enjoy. Let me know if you need more details. |
You should run "ssh-keygen -t ed25519" on both your windows and rpi4. And add the SSH public key of both to your github. You will use use "SSH" url to clone your forks instead of "HTTPS" when you clone the other people's repos. You will install platformio and gitlens extensions to your rpi4 though vscode ssh on windows. Vscode on windows is your command center. You can open terminals in vscode on windows to run and launch ros2 on rpi4. A browser (mostly to github.com) and vscode will server your development work. |
Correct. LED_BUILTIN is 2 on esp32. |
I know that the ESP32 has red and blue LEDs. What I want to do is to light up an LED that I have newly connected. I believe that LED_BUILTIN refers to the blue LED built into the ESP32, is that correct?
The text was updated successfully, but these errors were encountered: