• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Module 2 unit 7

Q&A Forum › Category: ESP32 › Module 2 unit 7
0 Vote Up Vote Down
Han Plaatsman asked 4 years ago

In the JPG of the build other GPIO’s are used as in the code

Question Tags: erratum
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Han.
Are you talking about this image:

It uses GPIO 16 for the LED and GPIO 4 for the button.
These are the GPIOs used in the code:

const int buttonPin = 4;    // the number of the pushbutton pin
const int ledPin = 16;      // the number of the LED pin

Or are you talking about something else?
Regards,
Sara

0 Vote Up Vote Down
Han Plaatsman answered 4 years ago

Very confusing when you start unit 2 with a 30 pin version and in unit 7 you use the same pins but they are in a different place, because (without telling anybody) switched to the 36 pin version.

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Han.
You are right. We need to change some schematics so that all use the same number of pins.
We’ll take that into account in the next course update.
Thank you for pointing that out.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.